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

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

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and update Node base class list Created 6 years, 6 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
« no previous file with comments | « Source/core/dom/Comment.cpp ('k') | Source/core/dom/DocumentFragment.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index b20a0fec29fe05acc4cd0cd28ff9f725d91f48ad..adf177778286536a0f662a9e67c547f39205734a 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -237,7 +237,7 @@ class Document : public ContainerNode, public TreeScope, public SecurityContext,
public:
static PassRefPtrWillBeRawPtr<Document> create(const DocumentInit& initializer = DocumentInit())
{
- return adoptRefWillBeRefCountedGarbageCollected(new Document(initializer));
+ return adoptRefWillBeNoop(new Document(initializer));
}
virtual ~Document();
@@ -245,8 +245,10 @@ public:
void mediaQueryAffectingValueChanged();
+#if !ENABLE(OILPAN)
using ContainerNode::ref;
using ContainerNode::deref;
+#endif
using SecurityContext::securityOrigin;
using SecurityContext::contentSecurityPolicy;
using ExecutionContextClient::addConsoleMessage;
« no previous file with comments | « Source/core/dom/Comment.cpp ('k') | Source/core/dom/DocumentFragment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698