summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host_view_mac.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:18:33 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:18:33 +0000
commit86272b73e152161cb64647490810e5c2c54f59da (patch)
treecc709ed57422ae2f511d554620b6b16eaa5c5848 /chrome/browser/renderer_host/render_widget_host_view_mac.h
parent14b67ce757d4d7fd38ff402cdb738a24fa741719 (diff)
downloadchromium_src-86272b73e152161cb64647490810e5c2c54f59da.zip
chromium_src-86272b73e152161cb64647490810e5c2c54f59da.tar.gz
chromium_src-86272b73e152161cb64647490810e5c2c54f59da.tar.bz2
[Mac] Fix recursive drawing in DidPaintRect() to defer painting of the second invalid rect.
BUG=http://crbug.com/24779 TEST=See test case in bug. Gmail should paint correctly when returning from fullscreen. Review URL: http://codereview.chromium.org/335029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_mac.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_mac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.h b/chrome/browser/renderer_host/render_widget_host_view_mac.h
index f95a418..10a21c8 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_mac.h
+++ b/chrome/browser/renderer_host/render_widget_host_view_mac.h
@@ -155,9 +155,6 @@ class RenderWidgetHostViewMac : public RenderWidgetHostView {
// paint requests by expanding the invalid rect rather than actually painting.
bool about_to_validate_and_paint_;
- // This is the rectangle which we'll paint.
- NSRect invalid_rect_;
-
// The time at which this view started displaying white pixels as a result of
// not having anything to paint (empty backing store from renderer). This
// value returns true for is_null() if we are not recording whiteout times.