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:
parent
122366e89e
commit
b8c655fe10
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue