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 7aae88c83b5a16951b3eb756e306129b334a7f90..34acd53b9925e0a2a4d76a4a2ee843724f41ebf8 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1746,9 +1746,6 @@ void Element::detachLayoutTree(const AttachContext& context) { |
if (context.clearInvalidation) |
document().styleEngine().styleInvalidator().clearInvalidation(*this); |
- if (svgFilterNeedsLayerUpdate()) |
- document().unscheduleSVGFilterLayerUpdateHack(*this); |
- |
setNeedsResizeObserverUpdate(); |
DCHECK(needsAttach()); |
@@ -1953,8 +1950,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) { |
if (LayoutObject* layoutObject = this->layoutObject()) { |
if (localChange != NoChange || |
- pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get()) || |
- svgFilterNeedsLayerUpdate()) { |
+ pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get())) { |
layoutObject->setStyle(newStyle.get()); |
} else { |
// Although no change occurred, we use the new style so that the cousin |
@@ -3618,10 +3614,6 @@ void Element::updateExtraNamedItemRegistration(const AtomicString& oldId, |
toHTMLDocument(document()).addExtraNamedItem(newId); |
} |
-void Element::scheduleSVGFilterLayerUpdateHack() { |
- document().scheduleSVGFilterLayerUpdateHack(*this); |
-} |
- |
ScrollOffset Element::savedLayerScrollOffset() const { |
return hasRareData() ? elementRareData()->savedLayerScrollOffset() |
: ScrollOffset(); |