blink::WebReferrerPolicy -> network::mojom::ReferrerPolicy

1212345
This commit is contained in:
Jeremy Apthorp 2019-01-09 12:13:49 -08:00
parent 96ca070c3a
commit 0d9de7deaf
3 changed files with 28 additions and 26 deletions

View file

@ -1188,8 +1188,9 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
if (!options.Get("httpReferrer", &params.referrer)) {
GURL http_referrer;
if (options.Get("httpReferrer", &http_referrer))
params.referrer = content::Referrer(http_referrer.GetAsReferrer(),
blink::kWebReferrerPolicyDefault);
params.referrer =
content::Referrer(http_referrer.GetAsReferrer(),
network::mojom::ReferrerPolicy::kDefault);
}
std::string user_agent;