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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1407543003: Preliminary paint property walk implementation for SPv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address some of the comments. Created 5 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
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 10630f4d5f651138f392258c9dcee55dd35493cd..54cb6b25c7bfeba2058513f8e3f5f6eb77254bf7 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -77,6 +77,7 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/paint/FramePainter.h"
#include "core/paint/PaintLayer.h"
+#include "core/paint/PaintPropertyTreeBuilder.h"
#include "core/style/ComputedStyle.h"
#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGSVGElement.h"
@@ -2454,7 +2455,7 @@ void FrameView::updatePaintProperties()
ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
lifecycle().advanceTo(DocumentLifecycle::InUpdatePaintProperties);
- // TODO(pdr): Calculate the paint properties by walking the layout tree.
+ PaintPropertyTreeBuilder().buildPropertyTrees(*this);
lifecycle().advanceTo(DocumentLifecycle::UpdatePaintPropertiesClean);
}

Powered by Google App Engine
This is Rietveld 408576698