summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframeloaderclient_impl.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 22:57:06 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 22:57:06 +0000
commitc284946e12e85a287e5095bde26efa72e84bb56b (patch)
tree0a76345f76d71dabbed651b4ee757f47b87db7df /webkit/glue/webframeloaderclient_impl.cc
parentfb19f9c85ab72f6ffc42dc7576db21c958eccea3 (diff)
downloadchromium_src-c284946e12e85a287e5095bde26efa72e84bb56b.zip
chromium_src-c284946e12e85a287e5095bde26efa72e84bb56b.tar.gz
chromium_src-c284946e12e85a287e5095bde26efa72e84bb56b.tar.bz2
Roll DEPS and fix build bustage. Propagate rename of policyBaseURL -> firstPartyForCookies a bit further.
TBR=darin TEST=It complies! BUG=None Review URL: http://codereview.chromium.org/112055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.cc')
-rw-r--r--webkit/glue/webframeloaderclient_impl.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.cc b/webkit/glue/webframeloaderclient_impl.cc
index c3dd259..749d659 100644
--- a/webkit/glue/webframeloaderclient_impl.cc
+++ b/webkit/glue/webframeloaderclient_impl.cc
@@ -218,16 +218,6 @@ void WebFrameLoaderClient::dispatchWillSendRequest(
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())