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

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

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address more comments. 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 9c61b1bebbd832f48714fab105bba36c7d6459de..6862f82423a99157c3324d448c717684d55adea2 100644
--- a/Source/core/dom/TreeScope.h
+++ b/Source/core/dom/TreeScope.h
@@ -157,8 +157,11 @@ protected:
private:
virtual void dispose() { }
+#if !ENABLE(OILPAN)
int refCount() const;
-#if SECURITY_ASSERT_ENABLED
+#endif
+
+#if SECURITY_ASSERT_ENABLED && !ENABLE(OILPAN)
bool deletionHasBegun();
void beginDeletion();
#else
@@ -169,7 +172,7 @@ private:
bool rootNodeHasTreeSharedParent() const;
Node& m_rootNode;
- Document* m_document;
+ RawPtrWillBeMember<Document> m_document;
RawPtrWillBeMember<TreeScope> m_parentTreeScope;
#if !ENABLE(OILPAN)

Powered by Google App Engine
This is Rietveld 408576698