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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1294233004: Subtree caching implementation in blink-core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Unittest 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/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 6ddea1c970ff66b203ede634690f88b51eb529ca..594aaed22574607280da4a691240430b98a21fc8 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1183,6 +1183,9 @@ void LayoutObject::invalidateDisplayItemClients(const LayoutBoxModelObject& pain
{
ASSERT(RuntimeEnabledFeatures::slimmingPaintEnabled());
paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*this);
+
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
+ enclosingLayer()->setNeedsRepaint();
}
LayoutRect LayoutObject::boundsRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const

Powered by Google App Engine
This is Rietveld 408576698