OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromecast/renderer/cast_content_renderer_client.h" | 5 #include "chromecast/renderer/cast_content_renderer_client.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include <memory> |
| 8 |
| 9 #include "base/memory/ptr_util.h" |
8 #include "ipc/message_filter.h" | 10 #include "ipc/message_filter.h" |
9 | 11 |
10 namespace chromecast { | 12 namespace chromecast { |
11 namespace shell { | 13 namespace shell { |
12 | 14 |
13 // static | 15 // static |
14 scoped_ptr<CastContentRendererClient> CastContentRendererClient::Create() { | 16 std::unique_ptr<CastContentRendererClient> CastContentRendererClient::Create() { |
15 return make_scoped_ptr(new CastContentRendererClient()); | 17 return base::WrapUnique(new CastContentRendererClient()); |
16 } | 18 } |
17 | 19 |
18 } // namespace shell | 20 } // namespace shell |
19 } // namespace chromecast | 21 } // namespace chromecast |
OLD | NEW |