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 e24d1c30f9aaf2420549032951f346ec0a1b5cb1..6eafda0a7031f9958324cf78a4bab86568cf0f6f 100644 |
--- a/content/shell/browser/shell_devtools_frontend.cc |
+++ b/content/shell/browser/shell_devtools_frontend.cc |
@@ -77,7 +77,7 @@ ShellDevToolsFrontend::~ShellDevToolsFrontend() { |
void ShellDevToolsFrontend::RenderViewCreated( |
RenderViewHost* render_view_host) { |
if (!frontend_host_) { |
- frontend_host_.reset(DevToolsFrontendHost::Create(render_view_host, this)); |
+ frontend_host_.reset(DevToolsFrontendHost::Create(web_contents(), this)); |
agent_host_->AttachClient(this); |
} |
} |