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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintController.h

Issue 1416053003: Let synchronized painting generate correct paint invalidation rects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/paint/PaintController.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
index 2e789edc90e4153587f76fda2c710013fb478f7d..9e3693fbd70b0a0889ca231e86d64c25f21c6915 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
@@ -43,7 +43,7 @@ public:
}
// These methods are called during paint invalidation (or paint if SlimmingPaintSynchronizedPainting is on).
- void invalidate(const DisplayItemClientWrapper&, PaintInvalidationReason, const IntRect& previousPaintInvalidationRect, const IntRect& newPaintInvalidationRect);
+ void invalidate(const DisplayItemClientWrapper&, PaintInvalidationReason, const Vector<IntRect>& paintInvalidationRects);
chrishtr 2015/10/22 00:02:41 If it's a vector, how is Walter's code supposed to
Xianzhu 2015/10/22 01:17:04 This is a good question which actually answers my
void invalidateUntracked(DisplayItemClient);
void invalidateAll();

Powered by Google App Engine
This is Rietveld 408576698