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

Unified Diff: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp

Issue 1294233004: Subtree caching implementation in blink-core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a complex-subtree-update test Created 5 years, 4 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: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
index ff9151aac9a36797b0029dedc8093deb200bf711..d9e05de4c8627ea1bff0c2e08b7aa5fb8a52a442 100644
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
@@ -2220,6 +2220,9 @@ void CompositedDeprecatedPaintLayerMapping::paintContents(const GraphicsLayer* g
if (Page* page = layoutObject()->frame()->page())
page->setIsPainting(false);
#endif
+
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
+ m_owningLayer.layoutObject()->clearRepaintFlagsRecursively();
}
bool CompositedDeprecatedPaintLayerMapping::isTrackingPaintInvalidations() const

Powered by Google App Engine
This is Rietveld 408576698