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

Unified Diff: Source/core/dom/shadow/ElementShadow.cpp

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/dom/shadow/ElementShadow.cpp
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp
index 8be13446f18645649efdd25a428a4ea025891357..c8439e40b8bb83535fc569003f20416b5481c487 100644
--- a/Source/core/dom/shadow/ElementShadow.cpp
+++ b/Source/core/dom/shadow/ElementShadow.cpp
@@ -163,6 +163,7 @@ ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRoot::Shadow
return *m_shadowRoots.head();
}
+#if !ENABLE(OILPAN)
void ElementShadow::removeDetachedShadowRoots()
{
// Dont protect this ref count.
@@ -180,6 +181,7 @@ void ElementShadow::removeDetachedShadowRoots()
}
}
+#endif
void ElementShadow::attach(const Node::AttachContext& context)
{

Powered by Google App Engine
This is Rietveld 408576698