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

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 112055: Roll DEPS and fix build bustage. Propagate rename of policyBaseURL -> firstP... (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
« webkit/api/public/WebURLRequest.h ('K') | « webkit/glue/resource_handle_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 16796)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -218,16 +218,6 @@
request.setTargetType(DetermineTargetTypeFromLoader(loader));
}
- // Inherit the policy URL from the request's frame. However, if the request
- // is for a main frame, the current document's policyBaseURL is the old
- // document, so we leave policyURL empty to indicate that the request is a
- // first-party request.
- if (request.targetType() != ResourceRequest::TargetIsMainFrame &&
- webframe_->frame()->document()) {
- request.setPolicyURL(
- webframe_->frame()->document()->firstPartyForCookies());
- }
-
// FrameLoader::loadEmptyDocumentSynchronously() creates an empty document
// with no URL. We don't like that, so we'll rename it to about:blank.
if (request.url().isEmpty())
« webkit/api/public/WebURLRequest.h ('K') | « webkit/glue/resource_handle_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698