Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 9ef9f384b0a839daf14c3682018a9a9476ae2f8c..cece712f403eb17c319f79ff2a15ae507020ccdb 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. |
@@ -179,6 +180,7 @@ void ElementShadow::removeDetachedShadowRoots() |
oldRoot->setNext(0); |
} |
} |
+#endif |
void ElementShadow::attach(const Node::AttachContext& context) |
{ |