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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 8 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
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 441889f2a9333fa4d77f086554b8cf52d10facf1..bddf8dff35951f9166d5b0aa2d5c05fc56cd4e6b 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -178,10 +178,12 @@ Element::~Element()
if (hasSyntheticAttrChildNodes())
detachAllAttrNodesFromElement();
+#if !ENABLE(OILPAN)
if (hasPendingResources()) {
document().accessSVGExtensions().removeElementFromPendingResources(this);
haraken 2014/04/25 05:21:42 Add a comment: // With Oilpan, either removedFrom
Mads Ager (chromium) 2014/04/25 10:58:25 Done.
ASSERT(!hasPendingResources());
}
+#endif
}
inline ElementRareData* Element::elementRareData() const

Powered by Google App Engine
This is Rietveld 408576698