From 477949abb137a50831dae7b1ef4b36b3295a6044 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Fri, 22 May 2009 19:57:35 +0000 Subject: Make WebRequest be a wrapper for ResourceRequest instead of FrameLoadRequest. It turns out that no one was ever reading the frameName field, so this change is quite trivial. BUG=10038 TEST=none R=brettw Review URL: http://codereview.chromium.org/115713 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16780 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webdatasource_impl.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'webkit/glue/webdatasource_impl.cc') diff --git a/webkit/glue/webdatasource_impl.cc b/webkit/glue/webdatasource_impl.cc index 86767ca..6980e13 100644 --- a/webkit/glue/webdatasource_impl.cc +++ b/webkit/glue/webdatasource_impl.cc @@ -42,16 +42,14 @@ WebDataSourceImpl::~WebDataSourceImpl() { const WebRequest& WebDataSourceImpl::GetInitialRequest() const { // WebKit may change the frame load request as it sees fit, so we must sync // our request object. - initial_request_.set_frame_load_request( - WebCore::FrameLoadRequest(originalRequest())); + initial_request_.set_resource_request(originalRequest()); return initial_request_; } const WebRequest& WebDataSourceImpl::GetRequest() const { // WebKit may change the frame load request as it sees fit, so we must sync // our request object. - request_.set_frame_load_request( - WebCore::FrameLoadRequest(request())); + request_.set_resource_request(request()); return request_; } -- cgit v1.1