Chromium Code Reviews| Index: Source/core/dom/Element.cpp |
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
| index 08b8d3ed6a9655b519f22145c83b2d22850a822c..a93fdc4b3f67b54af5227a44a99687ff1c6ec3d9 100644 |
| --- a/Source/core/dom/Element.cpp |
| +++ b/Source/core/dom/Element.cpp |
| @@ -167,11 +167,10 @@ Element::~Element() |
| { |
| ASSERT(needsAttach()); |
| +#if !ENABLE(OILPAN) |
| if (hasRareData()) |
| elementRareData()->clearShadow(); |
|
haraken
2014/05/05 16:54:52
Sorry for a repeated question: In oilpan builds, n
|
| - |
| - if (hasActiveAnimations()) |
| - activeAnimations()->dispose(); |
| +#endif |
| if (isCustomElement()) |
| CustomElement::wasDestroyed(this); |
| @@ -1430,7 +1429,7 @@ void Element::detach(const AttachContext& context) |
| if (ActiveAnimations* activeAnimations = data->activeAnimations()) { |
| if (context.performingReattach) { |
| - // FIXME: We call detach from withing style recalc, so compositingState is not up to date. |
| + // FIXME: We call detach from within style recalc, so compositingState is not up to date. |
| // https://code.google.com/p/chromium/issues/detail?id=339847 |
| DisableCompositingQueryAsserts disabler; |