| Index: content/shell/browser/shell_devtools_frontend.cc
|
| diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
|
| index 76e29365762156cb0697442c4a8cfa8a12583a30..1b6bc847b4a1bcb44e1e649a04c19e6bfff8f887 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.cc
|
| +++ b/content/shell/browser/shell_devtools_frontend.cc
|
| @@ -66,8 +66,7 @@ ShellDevToolsFrontend* ShellDevToolsFrontend::Show(
|
| const std::string& settings,
|
| const std::string& frontend_url) {
|
| scoped_refptr<DevToolsAgentHost> agent(
|
| - DevToolsAgentHost::GetOrCreateFor(
|
| - inspected_contents->GetRenderViewHost()));
|
| + DevToolsAgentHost::GetOrCreateFor(inspected_contents));
|
| Shell* shell = Shell::CreateNewWindow(inspected_contents->GetBrowserContext(),
|
| GURL(),
|
| NULL,
|
|
|