Fixup code review items
This commit is contained in:
parent
ca63ea0882
commit
5ee0ff9ee9
2 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
|
|||
|
||||
std::string user_agent;
|
||||
if (options.Get("useragent", &user_agent))
|
||||
this->SetUserAgent(user_agent);
|
||||
SetUserAgent(user_agent);
|
||||
|
||||
params.transition_type = ui::PAGE_TRANSITION_TYPED;
|
||||
params.should_clear_history_list = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue