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

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

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Tweak lifecycle checks Created 4 years, 1 month 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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index 0d07b008fa00024dadfa534d5ffdd185eeed2c8b..e3a4eb9376b24e3020a4e9fad77711ff880634e8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -297,6 +297,7 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff,
// transforms, so just null out the bit.
setHasTransformRelatedProperty(false);
setHasReflection(false);
+ layer()->updateFilters(oldStyle, styleRef());
// Calls destroyLayer() which clears m_layer.
layer()->removeOnlyThisLayerAfterStyleChange();
if (wasFloatingBeforeStyleChanged && isFloating())

Powered by Google App Engine
This is Rietveld 408576698