summaryrefslogtreecommitdiffstats
path: root/content/plugin/webplugin_delegate_stub.cc
diff options
context:
space:
mode:
authorjochen <jochen@chromium.org>2014-11-19 01:51:04 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 09:51:22 +0000
commitf71428e2754483bed8b8959cab09a359ce18d8e4 (patch)
treea8374e8cd7a3a50fcc7a2428f70d4e6ea2e293fc /content/plugin/webplugin_delegate_stub.cc
parent48bbd92e73821abc6896e56527f6b9d3320bbf55 (diff)
downloadchromium_src-f71428e2754483bed8b8959cab09a359ce18d8e4.zip
chromium_src-f71428e2754483bed8b8959cab09a359ce18d8e4.tar.gz
chromium_src-f71428e2754483bed8b8959cab09a359ce18d8e4.tar.bz2
Use content::Referrer to pass around referrers in the plugin code
BUG=434628 R=bauerb@chromium.org,mkwst@chromium.org Review URL: https://codereview.chromium.org/736743003 Cr-Commit-Position: refs/heads/master@{#304791}
Diffstat (limited to 'content/plugin/webplugin_delegate_stub.cc')
-rw-r--r--content/plugin/webplugin_delegate_stub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/plugin/webplugin_delegate_stub.cc b/content/plugin/webplugin_delegate_stub.cc
index 81267b5..21d8112 100644
--- a/content/plugin/webplugin_delegate_stub.cc
+++ b/content/plugin/webplugin_delegate_stub.cc
@@ -438,7 +438,7 @@ void WebPluginDelegateStub::OnFetchURL(
params.method,
data,
static_cast<unsigned int>(params.post_data.size()),
- params.referrer,
+ Referrer(params.referrer, params.referrer_policy),
params.notify_redirect,
params.is_plugin_src_load,
channel_->renderer_id(),