| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 918fe8920fc185a7b77e0888895ed187d1baf7e1..cb2b98af8f92f294eae0ae1732c637c975c8e060 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -506,10 +506,11 @@ Document::Document(const DocumentInit& initializer,
|
| if (registry && m_registrationContext)
|
| registry->entangle(m_registrationContext);
|
| } else if (m_importsController) {
|
| - m_fetcher = FrameFetchContext::createContextAndFetcher(nullptr, this);
|
| + m_fetcher = FrameFetchContext::createFetcherFromDocument(this);
|
| } else {
|
| m_fetcher = ResourceFetcher::create(nullptr);
|
| }
|
| + DCHECK(m_fetcher);
|
|
|
| m_rootScrollerController = RootScrollerController::create(*this);
|
|
|
|
|