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: |