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

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

Issue 2694193004: Early out PrePaintTreeWalk::walk() earlier (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index f5fc89141eb91aa514ada7ed437791ecd4352fe2..bc6be753e925e244f2665c86581023e0bd5268d1 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -100,12 +100,6 @@ class PaintPropertyTreeBuilder {
// date.
void updateProperties(FrameView&, PaintPropertyTreeBuilderContext&);
- // Update the context to account for positioning. Paint offset and
- // paint offset translation (if needed) are updated. If paint offset changes
- // we will force subtree update.
- void updateContextForBoxPosition(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
-
// Update the paint properties that affect this object (e.g., properties like
// paint offset translation) and ensure the context is up to date. Also
// handles updating the object's paintOffset.
@@ -122,6 +116,9 @@ class PaintPropertyTreeBuilder {
ALWAYS_INLINE static void updatePaintOffsetTranslation(
const LayoutBoxModelObject&,
PaintPropertyTreeBuilderContext&);
+ ALWAYS_INLINE static void updateForObjectLocation(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
ALWAYS_INLINE static void updateTransform(const LayoutObject&,
PaintPropertyTreeBuilderContext&);
ALWAYS_INLINE static void updateTransformForNonRootSVG(
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698