summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 17:24:14 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 17:24:14 +0000
commite7c528e825cca794295bd7bd182d8906e06e8551 (patch)
tree34e87a9c904dbee61900db4055194f0466f69dde /webkit
parent3a5d9e3058e8a8677355c937671225a5929c95ed (diff)
downloadchromium_src-e7c528e825cca794295bd7bd182d8906e06e8551.zip
chromium_src-e7c528e825cca794295bd7bd182d8906e06e8551.tar.gz
chromium_src-e7c528e825cca794295bd7bd182d8906e06e8551.tar.bz2
Revert 16748.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/resource_handle_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/resource_handle_impl.cc b/webkit/glue/resource_handle_impl.cc
index 50541cb..024836e 100644
--- a/webkit/glue/resource_handle_impl.cc
+++ b/webkit/glue/resource_handle_impl.cc
@@ -412,9 +412,9 @@ bool ResourceHandleInternal::Start(
// TODO(abarth): These are wrong! I need to figure out how to get the right
// strings here. See: http://crbug.com/8706
std::string frame_origin =
- webkit_glue::StringToStdString(request_.firstPartyForCookies().string());
+ webkit_glue::StringToStdString(request_.mainDocumentURL().string());
std::string main_frame_origin =
- webkit_glue::StringToStdString(request_.firstPartyForCookies().string());
+ webkit_glue::StringToStdString(request_.mainDocumentURL().string());
// TODO(darin): is latin1 really correct here? It is if the strings are
// already ASCII (i.e., if they are already escaped properly).