Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Issue 21516: Some cleanup of backing_store_win.cc... (Closed)

Created:
11 years, 10 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Some 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 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -60 lines) Patch
M chrome/browser/renderer_host/backing_store.h View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_win.cc View 1 2 3 chunks +40 lines, -51 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
cpu_(ooo_6.6-7.5)
11 years, 10 months ago (2009-02-19 19:27:02 UTC) #1
darin (slow to review)
please coordinate with agl on this. he already changed backing_store_win.cc considerably. his patch is already ...
11 years, 10 months ago (2009-02-19 19:38:34 UTC) #2
darin (slow to review)
http://codereview.chromium.org/21516/diff/1/2 File chrome/browser/renderer_host/backing_store.h (right): http://codereview.chromium.org/21516/diff/1/2#newcode61 Line 61: // Handle to the backing store dib. why ...
11 years, 10 months ago (2009-02-19 20:00:24 UTC) #3
cpu_(ooo_6.6-7.5)
Changes made please look again. http://codereview.chromium.org/21516/diff/1/3 File chrome/browser/renderer_host/backing_store_win.cc (right): http://codereview.chromium.org/21516/diff/1/3#newcode12 Line 12: namespace { On ...
11 years, 10 months ago (2009-02-20 00:03:27 UTC) #4
darin (slow to review)
LGTM
11 years, 10 months ago (2009-02-20 16:01:23 UTC) #5
darin (slow to review)
can this issue be closed now?
11 years, 9 months ago (2009-02-26 22:09:52 UTC) #6
cpu_(ooo_6.6-7.5)
11 years, 9 months ago (2009-03-03 22:24:20 UTC) #7
Sorry for the delay. I had to redo the CL given's agl checkin. Is pretty much a
subset of the already LGTMed change so I am going to go ahead and commit.


On 2009/02/26 22:09:52, darin wrote:
> can this issue be closed now?

Powered by Google App Engine
This is Rietveld 408576698