Making Http Referrer addition better!

- Code cleanup
This commit is contained in:
Frank Hale 2014-11-07 21:54:36 -05:00
parent f56d1ea7b4
commit ef255db069
4 changed files with 15 additions and 26 deletions

View file

@ -291,7 +291,7 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
base::string16 http_referrer_;
if(options.Get("httpReferrer", &http_referrer_))
if (options.Get("httpreferrer", &http_referrer_))
params.referrer = content::Referrer(GURL(http_referrer_).GetAsReferrer(), blink::WebReferrerPolicyDefault);
params.transition_type = content::PAGE_TRANSITION_TYPED;