summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdatasource_impl.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:57:35 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:57:35 +0000
commit477949abb137a50831dae7b1ef4b36b3295a6044 (patch)
tree136cb053bf67cd5aeaa05eb0f766abf5aaa32994 /webkit/glue/webdatasource_impl.cc
parent3fbdd8ed521d99cf94ef387321ea34cecf853a5e (diff)
downloadchromium_src-477949abb137a50831dae7b1ef4b36b3295a6044.zip
chromium_src-477949abb137a50831dae7b1ef4b36b3295a6044.tar.gz
chromium_src-477949abb137a50831dae7b1ef4b36b3295a6044.tar.bz2
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
Diffstat (limited to 'webkit/glue/webdatasource_impl.cc')
-rw-r--r--webkit/glue/webdatasource_impl.cc6
1 files changed, 2 insertions, 4 deletions
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_;
}