Fix API changes of Chrome37.
This commit is contained in:
parent
f0e46a4728
commit
dca1c51b32
9 changed files with 30 additions and 86 deletions
|
@ -156,8 +156,7 @@ void InspectableWebContentsImpl::ShowDevTools() {
|
|||
embedder_message_dispatcher_.reset(
|
||||
new DevToolsEmbedderMessageDispatcher(this));
|
||||
|
||||
auto create_params = content::WebContents::CreateParams(
|
||||
web_contents_->GetBrowserContext());
|
||||
content::WebContents::CreateParams create_params(web_contents_->GetBrowserContext());
|
||||
devtools_web_contents_.reset(content::WebContents::Create(create_params));
|
||||
|
||||
Observe(devtools_web_contents_.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue