Index: headless/lib/headless_browser_browsertest.cc |
diff --git a/headless/lib/headless_browser_browsertest.cc b/headless/lib/headless_browser_browsertest.cc |
index 93c9cbfaead7e924ec017b1db0a7464c3553aa77..be3dffa20027ebd5db57c9de6c02ac3855b0736f 100644 |
--- a/headless/lib/headless_browser_browsertest.cc |
+++ b/headless/lib/headless_browser_browsertest.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 "content/public/test/browser_test.h" |
#include "headless/public/headless_browser.h" |
#include "headless/public/headless_web_contents.h" |
@@ -13,7 +15,7 @@ |
namespace headless { |
IN_PROC_BROWSER_TEST_F(HeadlessBrowserTest, CreateAndDestroyWebContents) { |
- scoped_ptr<HeadlessWebContents> web_contents = |
+ std::unique_ptr<HeadlessWebContents> web_contents = |
browser()->CreateWebContents(gfx::Size(800, 600)); |
EXPECT_TRUE(web_contents); |
// TODO(skyostil): Verify viewport dimensions once we can. |
@@ -49,7 +51,7 @@ IN_PROC_BROWSER_TEST_F(HeadlessBrowserTestWithProxy, SetProxyServer) { |
builder.SetProxyServer(proxy_server()->host_port_pair()); |
SetBrowserOptions(builder.Build()); |
- scoped_ptr<HeadlessWebContents> web_contents = |
+ std::unique_ptr<HeadlessWebContents> web_contents = |
browser()->CreateWebContents(gfx::Size(800, 600)); |
// Load a page which doesn't actually exist, but for which the our proxy |