diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 21:25:46 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 21:25:46 +0000 |
commit | 3cb7115ddd010b44cb35ffe4491eca2362a3759a (patch) | |
tree | 8e1e390188796cbde3e8ffb21ac5703566ed7f35 /webkit/tools/test_shell/mac/webwidget_host.mm | |
parent | 82662a220776bfbfcebfe6cf7ef15bd9297ce6e6 (diff) | |
download | chromium_src-3cb7115ddd010b44cb35ffe4491eca2362a3759a.zip chromium_src-3cb7115ddd010b44cb35ffe4491eca2362a3759a.tar.gz chromium_src-3cb7115ddd010b44cb35ffe4491eca2362a3759a.tar.bz2 |
fix bug in scrolling where we wouldn't store the unioned rectangles, just let it drop on the floor.
Review URL: http://codereview.chromium.org/9653
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/mac/webwidget_host.mm')
-rw-r--r-- | webkit/tools/test_shell/mac/webwidget_host.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/mac/webwidget_host.mm b/webkit/tools/test_shell/mac/webwidget_host.mm index a097c53..09151d4 100644 --- a/webkit/tools/test_shell/mac/webwidget_host.mm +++ b/webkit/tools/test_shell/mac/webwidget_host.mm @@ -171,7 +171,7 @@ void WebWidgetHost::Paint() { scroll_rect_ = client_rect.Intersect(scroll_rect_); if (!scroll_rect_.IsEmpty()) { // add to invalidate rect, since there's no equivalent of ScrollDC. - paint_rect_.Union(scroll_rect_); + paint_rect_ = paint_rect_.Union(scroll_rect_); } ResetScrollRect(); |