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

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: s/setSelfNeedsRepaint/setNeedsRepaint/ 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 0701cf98160e5a114a5dab89ee01be5225d94709..b62a9066e0c34d9b707be17aee5552a3a854f525 100644
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
@@ -2214,6 +2214,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