Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chromecast/renderer/cast_content_renderer_client_simple.cc

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.cc ('k') | chromecast/renderer/media/audio_pipeline_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698