Index: headless/test/headless_test_launcher.cc |
diff --git a/headless/test/headless_test_launcher.cc b/headless/test/headless_test_launcher.cc |
index c8ab7163be2d40e188fe653e7509ec78fb1e6905..13e4f6c9d305203b6cbb6aa6096c9c6662379274 100644 |
--- a/headless/test/headless_test_launcher.cc |
+++ b/headless/test/headless_test_launcher.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <memory> |
+ |
#include "base/bind.h" |
#include "base/macros.h" |
#include "base/sys_info.h" |
@@ -47,7 +49,7 @@ class HeadlessTestLauncherDelegate : public content::TestLauncherDelegate { |
content::ContentMainDelegate* CreateContentMainDelegate() override { |
// Use HeadlessBrowserTest::SetBrowserOptions to override these defaults. |
HeadlessBrowser::Options::Builder options_builder; |
- scoped_ptr<HeadlessBrowserImpl> browser( |
+ std::unique_ptr<HeadlessBrowserImpl> browser( |
new HeadlessBrowserImplForTest(options_builder.Build())); |
return new HeadlessContentMainDelegate(std::move(browser)); |
} |