Index: Source/core/dom/TreeScope.cpp |
diff --git a/Source/core/dom/TreeScope.cpp b/Source/core/dom/TreeScope.cpp |
index 81a8d86ac5d5f642a00eb42db818412440038df1..efe9c5045c73fb9c54aff8f6123f182da435fddc 100644 |
--- a/Source/core/dom/TreeScope.cpp |
+++ b/Source/core/dom/TreeScope.cpp |
@@ -122,12 +122,14 @@ bool TreeScope::rootNodeHasTreeSharedParent() const |
return rootNode().hasTreeSharedParent(); |
} |
+#if !ENABLE(OILPAN) |
void TreeScope::destroyTreeScopeData() |
{ |
m_elementsById.clear(); |
m_imageMapsByName.clear(); |
m_labelsByForAttribute.clear(); |
} |
+#endif |
void TreeScope::setParentTreeScope(TreeScope& newParentScope) |
{ |