| Index: content/shell/shell_devtools_frontend.cc
|
| ===================================================================
|
| --- content/shell/shell_devtools_frontend.cc (revision 192091)
|
| +++ content/shell/shell_devtools_frontend.cc (working copy)
|
| @@ -56,11 +56,8 @@
|
| DevToolsAgentHost::GetOrCreateFor(
|
| inspected_contents->GetRenderViewHost()));
|
|
|
| - ShellContentBrowserClient* browser_client =
|
| - static_cast<ShellContentBrowserClient*>(
|
| - GetContentClient()->browser());
|
| - ShellDevToolsDelegate* delegate =
|
| - browser_client->shell_browser_main_parts()->devtools_delegate();
|
| + ShellDevToolsDelegate* delegate = ShellContentBrowserClient::Get()->
|
| + shell_browser_main_parts()->devtools_delegate();
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
|
| shell->LoadURL(GetDevToolsPathAsURL());
|
| else
|
|
|