DescriptionSome cleanup of backing_store_win.cc
- Fix a small leak (solved by re-selecting the initial bitmap into the dc at dtor time)
- Remove one set of GetDC(NULL) + GetDeviceCaps() + ReleaseDC()
- Remove some dead code
The removal of GetDC(NULL) might speed up Vista drawing a little bit, as is rummored that
this operation is expensive when DWM + Aero is enabled.
The integer overflow check is no longer possible. I'll file a bug so it is not lost.
TEST= existing test suffice
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10938
Patch Set 1 #
Total comments: 7
Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 7 (0 generated)
|