| 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 2b11e8eaa2481f35fdc17a584788e4a4e6ff16de..a426020d5678e08103dafe4e9c8ddafb8d4b8e48 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,
|
|
|