summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-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).