Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 29813cdd9d1ffb3e0a18cf398789d7899df4fb85..c0ba68d89cadb65ad6008e1711f2c35ede1079b2 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1954,7 +1954,8 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) { |
if (LayoutObject* layoutObject = this->layoutObject()) { |
if (localChange != NoChange || |
pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get()) || |
- svgFilterNeedsLayerUpdate()) { |
+ svgFilterNeedsLayerUpdate() || |
+ (layoutObject->isSVG() && layoutObject->hasClipPath())) { |
fs
2016/11/07 12:03:30
This does not look right.
|
layoutObject->setStyle(newStyle.get()); |
} else { |
// Although no change occurred, we use the new style so that the cousin |