Index: Source/core/dom/DocumentInit.cpp |
diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp |
index e00ef9afb31065d23765fde458ed31969f3ca691..cf093f48929d4dec16f9700f79603c5aa8f8d1da 100644 |
--- a/Source/core/dom/DocumentInit.cpp |
+++ b/Source/core/dom/DocumentInit.cpp |
@@ -61,7 +61,7 @@ static Document* ownerDocument(LocalFrame* frame) |
return ownerFrame->document(); |
} |
-DocumentInit::DocumentInit(const KURL& url, LocalFrame* frame, WeakPtr<Document> contextDocument, HTMLImportsController* importsController) |
+DocumentInit::DocumentInit(const KURL& url, LocalFrame* frame, WeakPtrWillBeRawPtr<Document> contextDocument, HTMLImportsController* importsController) |
: m_url(url) |
, m_frame(frame) |
, m_parent(parentDocument(frame)) |
@@ -150,12 +150,12 @@ PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> DocumentInit::registrat |
return m_registrationContext.get(); |
} |
-WeakPtr<Document> DocumentInit::contextDocument() const |
+WeakPtrWillBeRawPtr<Document> DocumentInit::contextDocument() const |
{ |
return m_contextDocument; |
} |
-DocumentInit DocumentInit::fromContext(WeakPtr<Document> contextDocument, const KURL& url) |
+DocumentInit DocumentInit::fromContext(WeakPtrWillBeRawPtr<Document> contextDocument, const KURL& url) |
{ |
return DocumentInit(url, 0, contextDocument, 0); |
} |