| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index e578bc18e6a599d09a368b53145ef9c777b75f90..0602a6b4a81125ec76cd8568287ac72ae3564991 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1423,8 +1423,8 @@ void Element::detach(const AttachContext& context)
|
| HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates;
|
| cancelFocusAppearanceUpdate();
|
| removeCallbackSelectors();
|
| - if (needsLayerUpdate())
|
| - document().unscheduleLayerUpdate(*this);
|
| + if (svgFilterNeedsLayerUpdate())
|
| + document().unscheduleSVGFilterLayerUpdateHack(*this);
|
| if (hasRareData()) {
|
| ElementRareData* data = elementRareData();
|
| data->clearPseudoElements();
|
| @@ -1592,7 +1592,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
|
| updateCallbackSelectors(oldStyle.get(), newStyle.get());
|
|
|
| if (RenderObject* renderer = this->renderer()) {
|
| - if (localChange != NoChange || pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get()) || needsLayerUpdate()) {
|
| + if (localChange != NoChange || pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get()) || svgFilterNeedsLayerUpdate()) {
|
| renderer->setStyle(newStyle.get());
|
| } else {
|
| // Although no change occurred, we use the new style so that the cousin style sharing code won't get
|
| @@ -2935,9 +2935,9 @@ PassRefPtrWillBeRawPtr<HTMLCollection> Element::ensureCachedHTMLCollection(Colle
|
| return ensureRareData().ensureNodeLists().addCache<HTMLCollection>(*this, type);
|
| }
|
|
|
| -void Element::scheduleLayerUpdate()
|
| +void Element::scheduleSVGFilterLayerUpdateHack()
|
| {
|
| - document().scheduleLayerUpdate(*this);
|
| + document().scheduleSVGFilterLayerUpdateHack(*this);
|
| }
|
|
|
| HTMLCollection* Element::cachedHTMLCollection(CollectionType type)
|
|
|