Index: chromecast/browser/cast_content_browser_client_simple.cc |
diff --git a/chromecast/browser/cast_content_browser_client_simple.cc b/chromecast/browser/cast_content_browser_client_simple.cc |
index 2b27e60db0d6dc5c95370c8837e8d1b488cd02eb..fb32fe6a9caeee6717f6addd8a11364a7972783e 100644 |
--- a/chromecast/browser/cast_content_browser_client_simple.cc |
+++ b/chromecast/browser/cast_content_browser_client_simple.cc |
@@ -2,16 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <memory> |
+ |
+#include "base/memory/ptr_util.h" |
#include "chromecast/browser/cast_content_browser_client.h" |
-#include "base/memory/scoped_ptr.h" |
namespace chromecast { |
namespace shell { |
// static |
-scoped_ptr<CastContentBrowserClient> CastContentBrowserClient::Create() { |
- return make_scoped_ptr(new CastContentBrowserClient()); |
+std::unique_ptr<CastContentBrowserClient> CastContentBrowserClient::Create() { |
+ return base::WrapUnique(new CastContentBrowserClient()); |
} |
} // namespace shell |