| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 522ab743c97b6f2eb78449f1d6d0d4fda5f84398..2c68009aa43e0c74aca597bac82dc6e34c4cb84f 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1349,8 +1349,6 @@ void Element::detach(const AttachContext& context)
|
| HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates;
|
| cancelFocusAppearanceUpdate();
|
| removeCallbackSelectors();
|
| - if (svgFilterNeedsLayerUpdate())
|
| - document().unscheduleSVGFilterLayerUpdateHack(*this);
|
| if (hasRareData()) {
|
| ElementRareData* data = elementRareData();
|
| data->clearPseudoElements();
|
| @@ -1377,7 +1375,12 @@ void Element::detach(const AttachContext& context)
|
| if (ElementShadow* shadow = data->shadow())
|
| shadow->detach(context);
|
| }
|
| +
|
| ContainerNode::detach(context);
|
| +
|
| + ASSERT(needsAttach());
|
| + if (svgFilterNeedsLayerUpdate())
|
| + document().unscheduleSVGFilterLayerUpdateHack(*this);
|
| }
|
|
|
| bool Element::pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle* newStyle)
|
|
|