Index: content/shell/shell_browser_main_parts.cc |
diff --git a/content/shell/shell_browser_main_parts.cc b/content/shell/shell_browser_main_parts.cc |
index 3c47011d942f70a4c9a7e69690b5f2a31d10864e..9f887661ed55f8ec4a979fcff8e3dda0503842e4 100644 |
--- a/content/shell/shell_browser_main_parts.cc |
+++ b/content/shell/shell_browser_main_parts.cc |
@@ -122,7 +122,7 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() { |
Shell::Initialize(); |
net::NetModule::SetResourceProvider(PlatformResourceProvider); |
- devtools_delegate_ = new ShellDevToolsDelegate(browser_context_.get()); |
+ devtools_delegate_.reset(new ShellDevToolsDelegate(browser_context_.get())); |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) { |
Shell::CreateNewWindow(browser_context_.get(), |