diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 20:36:06 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 20:36:06 +0000 |
commit | a25097e91f9a65ceecf729fe630880be3cddf05b (patch) | |
tree | 048fd5c7c8d953361e1a73a2591422d9f00b91be | |
parent | 6f2ff8526c54090bf6afe9c80f2d63551231e997 (diff) | |
download | chromium_src-a25097e91f9a65ceecf729fe630880be3cddf05b.zip chromium_src-a25097e91f9a65ceecf729fe630880be3cddf05b.tar.gz chromium_src-a25097e91f9a65ceecf729fe630880be3cddf05b.tar.bz2 |
Fix bug where we failed to paint infobars and other fast-moving items correctly.
BUG=4048
Review URL: http://codereview.chromium.org/9192
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4810 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/views/root_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/root_view.cc b/chrome/views/root_view.cc index 11f86d0..aa8f1b3 100644 --- a/chrome/views/root_view.cc +++ b/chrome/views/root_view.cc @@ -910,7 +910,7 @@ void RootView::ClearPaintRect() { void RootView::OnPaint(HWND hwnd) { RECT original_dirty_region = GetScheduledPaintRectConstrainedToSize(); - if (!!IsRectEmpty(&original_dirty_region)) { + if (!IsRectEmpty(&original_dirty_region)) { // Invoke InvalidateRect so that the dirty region of the window includes the // region we need to paint. If we didn't do this and the region didn't // include the dirty region, ProcessPaint would incorrectly mark everything |