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

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

Issue 2732573003: Skip paint property update and visual rect update if no geometry change (Closed)
Patch Set: - Created 3 years, 9 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/PrePaintTreeWalk.h
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
index 634292466820fdcb00809a6b1e83e483e73c4e1a..1f87b05c7bb61b1e85c1ec41790243442a1612a8 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
@@ -44,8 +44,9 @@ class PrePaintTreeWalk {
const LayoutPoint& ancestorPaintOffset,
bool& hasClip);
- // Returns true if the tree walk should stop before processing this object.
- bool shouldEndWalkBefore(const LayoutObject&, const PrePaintTreeWalkContext&);
+ // Returns true if we need to walk the tree for paint property update.
+ bool needsWalkForPaintPropertyUpdate(const LayoutObject&,
+ const PrePaintTreeWalkContext&);
PaintPropertyTreeBuilder m_propertyTreeBuilder;
PaintInvalidator m_paintInvalidator;

Powered by Google App Engine
This is Rietveld 408576698