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

Unified Diff: Source/core/dom/TreeScope.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/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)
{

Powered by Google App Engine
This is Rietveld 408576698