| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index b4b03dc399c7a823140d09f506fff9e6541c712c..f7ede508b651841b3f464f314c29196abfc5e8a7 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -867,7 +867,7 @@ LocalFrame* Document::executingFrame()
|
| return window->frame();
|
| }
|
|
|
| -PassRefPtr<DocumentFragment> Document::createDocumentFragment()
|
| +PassRefPtrWillBeRawPtr<DocumentFragment> Document::createDocumentFragment()
|
| {
|
| return DocumentFragment::create(*this);
|
| }
|
| @@ -985,7 +985,7 @@ PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionSt
|
| return nullptr;
|
| }
|
| DocumentFragment* oldFragment = toDocumentFragment(importedNode);
|
| - RefPtr<DocumentFragment> newFragment = createDocumentFragment();
|
| + RefPtrWillBeRawPtr<DocumentFragment> newFragment = createDocumentFragment();
|
| if (deep && !importContainerNodeChildren(oldFragment, newFragment, exceptionState))
|
| return nullptr;
|
|
|
|
|