Fix bug in WebWidgetHost::DidInvalidateRect().

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@211 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-03-25 18:24:36 +00:00
parent 122366e89e
commit b8c655fe10
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ void WebWidgetHost::DidInvalidateRect(const gfx::Rect& damaged_rect) {
paint_rect_ = paint_rect_.Union(scroll_rect_); paint_rect_ = paint_rect_.Union(scroll_rect_);
ResetScrollRect(); ResetScrollRect();
} }
paint_rect_ = paint_rect_.Union(damaged_rect);
InvalidateRect(gfx::Rect(damaged_rect)); InvalidateRect(gfx::Rect(damaged_rect));
} }