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

Unified Diff: Source/core/dom/TreeScope.h

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.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;

Powered by Google App Engine
This is Rietveld 408576698