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

Unified Diff: Source/core/loader/SinkDocument.h

Issue 288343017: Oilpan: Replace RefPtrs to Node and its subclasses in core/xml/ with Oilpan transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nullptr 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
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/xml/DOMParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/SinkDocument.h
diff --git a/Source/core/loader/SinkDocument.h b/Source/core/loader/SinkDocument.h
index 7a0f0ec55fd6508d22a683ac15030a4ec831884a..1c81640f62eb9c7008f309d7abb2e3328fd95307 100644
--- a/Source/core/loader/SinkDocument.h
+++ b/Source/core/loader/SinkDocument.h
@@ -32,9 +32,9 @@ namespace WebCore {
class SinkDocument FINAL : public HTMLDocument {
public:
- static PassRefPtr<SinkDocument> create(const DocumentInit& initializer = DocumentInit())
+ static PassRefPtrWillBeRawPtr<SinkDocument> create(const DocumentInit& initializer = DocumentInit())
{
- return adoptRef(new SinkDocument(initializer));
+ return adoptRefWillBeRefCountedGarbageCollected(new SinkDocument(initializer));
}
private:
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/xml/DOMParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698