So 10/12 of the Bay Area voted yes, rather disproportionately in favor compared to the nationwide vote. Until putting together this list, I hadn't actually realized there are no Republicans in the entire extended Bay Area, incidentally. You have to go all the way to Modesto to find a GOP Congressman (in CA-10, where Denham voted "no").
Or, perhaps a little less cynically: she's the minority leader so she's expected to vote in the party's interest. When your party holds the White House that basically means supporting the administration.
I don't mean this as a defense of Pelosi though. I'm also in CA-12; I usually just abstain from voting for US Rep.