summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/url_request_info_util.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 01:26:02 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 01:26:02 +0000
commitcacbd7a41c42be90aa80f4121973629cd27dece5 (patch)
treeebf63c1bd555af5b5fbec14cc950d1270006f9bc /content/renderer/pepper/url_request_info_util.cc
parentc8f68bbb4b007e7f0ab8a1922d3115ad6fcfb0cb (diff)
downloadchromium_src-cacbd7a41c42be90aa80f4121973629cd27dece5.zip
chromium_src-cacbd7a41c42be90aa80f4121973629cd27dece5.tar.gz
chromium_src-cacbd7a41c42be90aa80f4121973629cd27dece5.tar.bz2
Don't try to guess the referrer policy, but use the one associated with the request
This is possible now that we store the referrer policy on each request. BUG=334125 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/135973009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/url_request_info_util.cc')
-rw-r--r--content/renderer/pepper/url_request_info_util.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/renderer/pepper/url_request_info_util.cc b/content/renderer/pepper/url_request_info_util.cc
index bc2706f..3059a61 100644
--- a/content/renderer/pepper/url_request_info_util.cc
+++ b/content/renderer/pepper/url_request_info_util.cc
@@ -177,7 +177,6 @@ bool CreateWebURLRequest(PP_Instance instance,
if (data->has_custom_user_agent) {
bool was_after_preconnect_request = false;
dest->setExtraData(new webkit_glue::WebURLRequestExtraDataImpl(
- frame->document().referrerPolicy(),
WebString::fromUTF8(data->custom_user_agent),
was_after_preconnect_request));
}