| Index: content/shell/browser/shell_devtools_manager_delegate.cc
|
| diff --git a/content/shell/browser/shell_devtools_manager_delegate.cc b/content/shell/browser/shell_devtools_manager_delegate.cc
|
| index d88618919f3c80f546d910eab46123d565120f6e..2d3837a31854f8ba508ff7462a4aee290f3916fa 100644
|
| --- a/content/shell/browser/shell_devtools_manager_delegate.cc
|
| +++ b/content/shell/browser/shell_devtools_manager_delegate.cc
|
| @@ -17,7 +17,6 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| -#include "components/devtools_discovery/basic_target_descriptor.h"
|
| #include "components/devtools_discovery/devtools_discovery_manager.h"
|
| #include "components/devtools_http_handler/devtools_http_handler.h"
|
| #include "content/public/browser/browser_context.h"
|
| @@ -135,14 +134,13 @@ CreateSocketFactory() {
|
| #endif
|
| }
|
|
|
| -std::unique_ptr<devtools_discovery::DevToolsTargetDescriptor>
|
| +scoped_refptr<content::DevToolsAgentHost>
|
| CreateNewShellTarget(BrowserContext* browser_context, const GURL& url) {
|
| Shell* shell = Shell::CreateNewWindow(browser_context,
|
| url,
|
| nullptr,
|
| gfx::Size());
|
| - return base::WrapUnique(new devtools_discovery::BasicTargetDescriptor(
|
| - DevToolsAgentHost::GetOrCreateFor(shell->web_contents())));
|
| + return DevToolsAgentHost::GetOrCreateFor(shell->web_contents());
|
| }
|
|
|
| // ShellDevToolsDelegate ----------------------------------------------------
|
|
|