Index: webkit/glue/plugins/pepper_url_loader.cc |
=================================================================== |
--- webkit/glue/plugins/pepper_url_loader.cc (revision 69012) |
+++ webkit/glue/plugins/pepper_url_loader.cc (working copy) |
@@ -236,15 +236,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; |