| Index: chrome/browser/ui/webui/inspect_ui.cc
|
| diff --git a/chrome/browser/ui/webui/inspect_ui.cc b/chrome/browser/ui/webui/inspect_ui.cc
|
| index dc203b6b345de2ef5accf6a07cfbc8cd89f7c0ef..9c5dce6f1755c4ba8967a03634db4edf24ab5f34 100644
|
| --- a/chrome/browser/ui/webui/inspect_ui.cc
|
| +++ b/chrome/browser/ui/webui/inspect_ui.cc
|
| @@ -16,7 +16,6 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/public/browser/devtools_agent_host.h"
|
| -#include "content/public/browser/devtools_manager.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| @@ -293,9 +292,7 @@ void InspectUI::InspectBrowserWithCustomFrontend(
|
| DevToolsUIBindings* bindings = new DevToolsUIBindings(front_end,
|
| frontend_url);
|
|
|
| - // Engage remote debugging between front-end and agent host.
|
| - content::DevToolsManager::GetInstance()->RegisterDevToolsClientHostFor(
|
| - agent_host, bindings);
|
| + bindings->InspectAgentHost(agent_host.get());
|
| }
|
|
|
| void InspectUI::InspectDevices(Browser* browser) {
|
|
|