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

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

Issue 2456113002: Separate property and context updates in PaintPropertyTreeBuilder (Closed)
Patch Set: Cleanup names/comments, fix preserves3d bug Created 4 years, 2 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 | « third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index 83ebd785bdce76b3621a14e01a18a264c8db71fe..21b73d52e780ac12c6286b3741525cd3e3d7c656 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -41,8 +41,8 @@ void PrePaintTreeWalk::walk(FrameView& frameView,
return;
PrePaintTreeWalkContext localContext(context);
- m_propertyTreeBuilder.buildTreeNodes(frameView,
- localContext.treeBuilderContext);
+ m_propertyTreeBuilder.updatePropertiesAndContext(
+ frameView, localContext.treeBuilderContext);
if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) {
m_paintInvalidator.invalidatePaintIfNeeded(
@@ -75,12 +75,12 @@ void PrePaintTreeWalk::walk(const LayoutObject& object,
return;
}
- m_propertyTreeBuilder.buildTreeNodesForSelf(object,
- localContext.treeBuilderContext);
+ m_propertyTreeBuilder.updatePropertiesAndContextForSelf(
+ object, localContext.treeBuilderContext);
if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
m_paintInvalidator.invalidatePaintIfNeeded(
object, localContext.paintInvalidatorContext);
- m_propertyTreeBuilder.buildTreeNodesForChildren(
+ m_propertyTreeBuilder.updatePropertiesAndContextForChildren(
object, localContext.treeBuilderContext);
for (const LayoutObject* child = object.slowFirstChild(); child;
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698