Index: webkit/plugins/ppapi/ppb_url_loader_impl.cc |
=================================================================== |
--- webkit/plugins/ppapi/ppb_url_loader_impl.cc (revision 71467) |
+++ webkit/plugins/ppapi/ppb_url_loader_impl.cc (working copy) |
@@ -249,15 +249,7 @@ |
if (rv != PP_OK) |
return rv; |
- frame->dispatchWillSendRequest(web_request); |
- |
- // Sets the appcache host id to allow retrieval from the appcache. |
- if (WebApplicationCacheHostImpl* appcache_host = |
- WebApplicationCacheHostImpl::FromFrame(frame)) { |
- appcache_host->willStartSubResourceRequest(web_request); |
- } |
- |
- loader_.reset(WebKit::webKitClient()->createURLLoader()); |
+ loader_.reset(frame->createAssociatedURLLoader()); |
if (!loader_.get()) |
return PP_ERROR_FAILED; |