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

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 c7d2274da3fc556e599b076131c69f717ebfe7c0..81d0f09145ec4c084960c1372167ce124b092579 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
@@ -45,8 +45,12 @@ class PrePaintTreeWalk {
bool& hasClip,
FloatClipRect&);
- // Returns true if the tree walk should stop before processing this object.
- bool shouldEndWalkBefore(const LayoutObject&, const PrePaintTreeWalkContext&);
+ bool ALWAYS_INLINE
+ needsTreeBuilderContextUpdate(const FrameView&,
+ const PrePaintTreeWalkContext&);
+ bool ALWAYS_INLINE
+ needsTreeBuilderContextUpdate(const LayoutObject&,
+ const PrePaintTreeWalkContext&);
PaintPropertyTreeBuilder m_propertyTreeBuilder;
PaintInvalidator m_paintInvalidator;

Powered by Google App Engine
This is Rietveld 408576698