Index: Source/core/dom/TreeScope.h |
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h |
index 186615a386061f95e0481f17ba9df429e813ac29..78ad612a3f5641bedb92cce12f13f38f8ccb693c 100644 |
--- a/Source/core/dom/TreeScope.h |
+++ b/Source/core/dom/TreeScope.h |
@@ -144,7 +144,10 @@ protected: |
TreeScope(Document&); |
virtual ~TreeScope(); |
+#if !ENABLE(OILPAN) |
void destroyTreeScopeData(); |
+#endif |
+ |
void setDocument(Document& document) { m_document = &document; } |
void setParentTreeScope(TreeScope&); |
@@ -159,15 +162,15 @@ private: |
#if !ENABLE(OILPAN) |
int refCount() const; |
-#endif |
-#if SECURITY_ASSERT_ENABLED && !ENABLE(OILPAN) |
+#if SECURITY_ASSERT_ENABLED |
bool deletionHasBegun(); |
void beginDeletion(); |
#else |
bool deletionHasBegun() { return false; } |
void beginDeletion() { } |
#endif |
+#endif |
bool rootNodeHasTreeSharedParent() const; |