Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: webkit/glue/resource_handle_impl.cc

Issue 115702: Fix future build break from upstream renaming patch.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_handle_impl.cc
===================================================================
--- webkit/glue/resource_handle_impl.cc (revision 16746)
+++ webkit/glue/resource_handle_impl.cc (working copy)
@@ -412,9 +412,9 @@
// 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).
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698