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 8a13689d565a86ca0e3adeb89401164a7be85c1c..a5b152ffc58d134a696879cc2235f8a75ea1574d 100644 |
--- a/chrome/browser/ui/webui/inspect_ui.cc |
+++ b/chrome/browser/ui/webui/inspect_ui.cc |
@@ -343,7 +343,7 @@ void InspectUI::InspectBrowserWithCustomFrontend( |
// Install devtools bindings. |
DevToolsUIBindingsEnabler* bindings_enabler = |
new DevToolsUIBindingsEnabler(front_end, frontend_url); |
- bindings_enabler->GetBindings()->AttachTo(agent_host.get()); |
+ bindings_enabler->GetBindings()->AttachTo(agent_host); |
} |
void InspectUI::InspectDevices(Browser* browser) { |