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

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

Issue 2033513003: (NOT FOR COMMIT) Testing layer invalidation speedups. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 11dc3c44a8cbb4f30a2dccb3b745f375ba224e6d..0ca06a561d7930e94ddcbfcdebacbd4692e26b84 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2296,6 +2296,12 @@ bool PaintLayer::isAllowedToQueryCompositingState() const
return layoutObject()->document().lifecycle().state() >= DocumentLifecycle::InCompositingUpdate;
}
+void PaintLayer::finalizeInvalidations()
+{
+ if (compositedLayerMapping())
+ compositedLayerMapping()->finalizeInvalidations();
+}
+
CompositedLayerMapping* PaintLayer::compositedLayerMapping() const
{
ASSERT(isAllowedToQueryCompositingState());
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698