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

Unified Diff: webkit/glue/resource_fetcher.cc

Issue 46026: Get rid of stashing a frame pointer with ResourceRequest and just store the r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
Index: webkit/glue/resource_fetcher.cc
===================================================================
--- webkit/glue/resource_fetcher.cc (revision 11712)
+++ webkit/glue/resource_fetcher.cc (working copy)
@@ -9,6 +9,7 @@
MSVC_PUSH_WARNING_LEVEL(0);
#include "FrameLoader.h"
+#include "FrameLoaderClient.h"
#include "ResourceHandle.h"
#include "ResourceRequest.h"
MSVC_POP_WARNING();
@@ -56,7 +57,8 @@
}
WebCore::ResourceRequest request(webkit_glue::GURLToKURL(url_));
- request.setFrame(frame);
+ WebCore::ResourceResponse response;
+ frame_loader->client()->dispatchWillSendRequest(NULL, 0, request, response);
loader_ = ResourceHandle::create(request, this, NULL, false, false);
}
« no previous file with comments | « third_party/WebKit/WebCore/platform/network/chromium/ResourceRequest.h ('k') | webkit/glue/resource_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698