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

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

Issue 2404213004: Implement incremental paint property tree rebuilding (Closed)
Patch Set: Fix bug in how svg local to border box was updated, no longer crash in tests Created 4 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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 0ae7cb6b3efb9b4e07af42ed1c3f3672c0230d8b..71263e01fbfd9ce453eef51b65d986df49661eab 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1478,6 +1478,8 @@ StyleDifference LayoutObject::adjustStyleDifference(
// for changed paint property or paint order. Raster invalidation will be
// issued if needed during paint.
ObjectPaintInvalidator(*this).slowSetPaintingLayerNeedsRepaint();
+
+ getMutableForPainting().setPaintPropertiesInvalid();
}
} else {
// If transform changed, and the layer does not paint into its own separate

Powered by Google App Engine
This is Rietveld 408576698