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 a3904399780b5be1f28692d10372409ea4ad71e1..976226def65cf179a40992e0805809689a44cb1b 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
@@ -28,9 +28,9 @@ void PrePaintTreeWalk::walk(FrameView& rootFrame) |
{ |
DCHECK(rootFrame.frame().document()->lifecycle().state() == DocumentLifecycle::InPrePaint); |
- PrePaintTreeWalkContext rootContext; |
- m_propertyTreeBuilder.buildTreeRootNodes(rootFrame, rootContext.treeBuilderContext); |
- walk(rootFrame, rootContext); |
+ PrePaintTreeWalkContext initialContext; |
+ initialContext.treeBuilderContext = m_propertyTreeBuilder.setupInitialContext(); |
+ walk(rootFrame, initialContext); |
m_paintInvalidator.processPendingDelayedPaintInvalidations(); |
} |