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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h

Issue 2707063003: Don't invalidate rect if it's covered by fully invalidated parent's visual rect (Closed)
Patch Set: - Created 3 years, 10 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/core/paint/ObjectPaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
index 61ca4f87a2244537a5e4d85c53209f8a44cb46e4..13d48e808e0843739f0ca946088f0b0d443bd043 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
@@ -112,6 +112,9 @@ class ObjectPaintInvalidatorWithContext : public ObjectPaintInvalidator {
const LayoutRect& oldVisualRect,
const LayoutRect& newVisualRect);
+ void invalidatePaintRectangleWithContext(const LayoutRect&,
+ PaintInvalidationReason);
+
private:
void invalidateSelectionIfNeeded(PaintInvalidationReason);

Powered by Google App Engine
This is Rietveld 408576698