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 469bc7a952c742e9449d340a4b81df0a039a8166..88e4d3ecf9bac995beccd574893fb0208f4bc1cc 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1748,9 +1748,6 @@ void Element::detachLayoutTree(const AttachContext& context) { |
if (context.clearInvalidation) |
document().styleEngine().styleInvalidator().clearInvalidation(*this); |
- if (svgFilterNeedsLayerUpdate()) |
- document().unscheduleSVGFilterLayerUpdateHack(*this); |
- |
setNeedsResizeObserverUpdate(); |
DCHECK(needsAttach()); |
@@ -1955,8 +1952,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 |
@@ -3617,10 +3613,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(); |