diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 19:58:08 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 19:58:08 +0000 |
commit | 5b35a6be09ab4a22ed9c5e0a073463a2ef630ec5 (patch) | |
tree | 00bdf30d37b70e4f3b027c7a5dc49784e08be98b /chrome/renderer/render_view.cc | |
parent | 65e9cdbe8cf977e04bc264fe6d70cc5b2b0242a1 (diff) | |
download | chromium_src-5b35a6be09ab4a22ed9c5e0a073463a2ef630ec5.zip chromium_src-5b35a6be09ab4a22ed9c5e0a073463a2ef630ec5.tar.gz chromium_src-5b35a6be09ab4a22ed9c5e0a073463a2ef630ec5.tar.bz2 |
Get rid of stashing a frame pointer with ResourceRequest and just store the routing id directly. This simplifies the renderer code and also allow this code to be used in worker processes, where we don't have a frame.
Review URL: http://codereview.chromium.org/46026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 000443e..cf3a6e8 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -1508,6 +1508,12 @@ void RenderView::DidCompleteClientRedirect(WebView* webview, completed_client_redirect_src_ = source; } +void RenderView::WillSendRequest(WebView* webview, + uint32 identifier, + WebRequest* request) { + request->SetRequestorID(routing_id_); +} + void RenderView::BindDOMAutomationController(WebFrame* webframe) { dom_automation_controller_.set_message_sender(this); dom_automation_controller_.set_routing_id(routing_id_); |