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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2545023002: Clean up around FrameFetchContext (Closed)
Patch Set: Rebase Created 4 years 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
Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 043e2e7e1ad479cce13ef7fbc2fb28577f0b4d3a..04bb0c42d47979719271dd710c9ef3ec08412a32 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -99,7 +99,7 @@ DocumentLoader::DocumentLoader(LocalFrame* frame,
const SubstituteData& substituteData,
ClientRedirectPolicy clientRedirectPolicy)
: m_frame(frame),
- m_fetcher(FrameFetchContext::createContextAndFetcher(this, nullptr)),
+ m_fetcher(FrameFetchContext::createFetcherFromDocumentLoader(this)),
m_originalRequest(req),
m_substituteData(substituteData),
m_request(req),
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698