Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
index 1fb9ca46bc52aaf399c348f551d93300fabaaff0..753720ad11498611b02d11e0dd05a3b23c2c8e4e 100644
--- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
@@ -110,7 +110,8 @@ void ContentLayerDelegate::paintContents(
disabledMode = GraphicsContext::FullyDisabled;
GraphicsContext context(*paintController, disabledMode);
- m_painter->paint(context, clip);
+ IntRect interestRect = clip;
+ m_painter->paint(context, &interestRect);
paintController->commitNewDisplayItems();
paintArtifactToWebDisplayItemList(webDisplayItemList, paintController->paintArtifact(), clip);

Powered by Google App Engine
This is Rietveld 408576698