mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 165669.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@902 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -355,14 +355,14 @@ void WebWidgetHost::Paint() {
|
||||
// to update that area after we're done painting it.
|
||||
gfx::Rect total_paint;
|
||||
for (int i = 0; i < 2; ++i) {
|
||||
paint_rect_ = client_rect.Intersect(paint_rect_);
|
||||
paint_rect_.Intersect(client_rect);
|
||||
if (!paint_rect_.IsEmpty()) {
|
||||
gfx::Rect rect(paint_rect_);
|
||||
paint_rect_ = gfx::Rect();
|
||||
|
||||
DLOG_IF(WARNING, i == 1) << "painting caused additional invalidations";
|
||||
PaintRect(rect);
|
||||
total_paint = total_paint.Union(rect);
|
||||
total_paint.Union(rect);
|
||||
}
|
||||
}
|
||||
// DCHECK(paint_rect_.IsEmpty());
|
||||
|
Reference in New Issue
Block a user