Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: Source/core/dom/Element.cpp

Issue 296703009: Oilpan: move custom element objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation issue pointed out by clang Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DocumentInit.cpp ('k') | Source/core/dom/custom/CustomElementCallbackQueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index bceb1cec98c00f0e05e02fcd1e529a179de2f075..6fda57079b921222b9414a5b413edf4afd405399 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -171,12 +171,10 @@ Element::~Element()
#if !ENABLE(OILPAN)
if (hasRareData())
elementRareData()->clearShadow();
-#endif
if (isCustomElement())
CustomElement::wasDestroyed(this);
-#if !ENABLE(OILPAN)
if (hasSyntheticAttrChildNodes())
detachAllAttrNodesFromElement();
« no previous file with comments | « Source/core/dom/DocumentInit.cpp ('k') | Source/core/dom/custom/CustomElementCallbackQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698