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

Unified Diff: content/renderer/fetchers/resource_fetcher_impl.cc

Issue 2867673003: Have content::ResourceFetcher use FetchContext::CreateURLLoader (Closed)
Patch Set: fix Created 3 years, 7 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/fetchers/resource_fetcher_impl.cc
diff --git a/content/renderer/fetchers/resource_fetcher_impl.cc b/content/renderer/fetchers/resource_fetcher_impl.cc
index 7b6a0e85f31ca5322b146afd57b182e01c4be911..f0f62b6ca3d50aba1e4d1b9e7db39ad27b0005d4 100644
--- a/content/renderer/fetchers/resource_fetcher_impl.cc
+++ b/content/renderer/fetchers/resource_fetcher_impl.cc
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
-#include "third_party/WebKit/public/platform/Platform.h"
#include "third_party/WebKit/public/platform/WebHTTPBody.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/platform/WebString.h"
@@ -188,7 +187,7 @@ void ResourceFetcherImpl::Start(
client_.reset(new ClientImpl(this, callback));
- loader_ = blink::Platform::Current()->CreateURLLoader();
+ loader_ = frame->CreateURLLoader();
loader_->LoadAsynchronously(request_, client_.get());
// No need to hold on to the request; reset it now.
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698