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

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

Issue 2792063002: Reland of Skip paint property update and visual rect update if no geometry change (Closed)
Patch Set: Rebase Created 3 years, 8 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 a94745099318a669e57afb22ced345b957ba6910..4ad6cbf787c67646f3edf35c5bb4b27505bb4b51 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
@@ -44,8 +44,12 @@ class PrePaintTreeWalk {
const LayoutPoint& ancestorPaintOffset,
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