From ac48694e5fac3a7c18d82155ae62f55f9af656f2 Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Fri, 22 May 2009 17:08:14 +0000 Subject: Fix future build break from upstream renaming patch. R=wtc BUG=None TEST=It compiles! It must work. Review URL: http://codereview.chromium.org/115702 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16748 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/resource_handle_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webkit') diff --git a/webkit/glue/resource_handle_impl.cc b/webkit/glue/resource_handle_impl.cc index 024836e..50541cb 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_.mainDocumentURL().string()); + webkit_glue::StringToStdString(request_.firstPartyForCookies().string()); std::string main_frame_origin = - webkit_glue::StringToStdString(request_.mainDocumentURL().string()); + webkit_glue::StringToStdString(request_.firstPartyForCookies().string()); // TODO(darin): is latin1 really correct here? It is if the strings are // already ASCII (i.e., if they are already escaped properly). -- cgit v1.1