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

Side by Side Diff: ui/display/chromeos/ozone/display_configurator_ozone.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/display/chromeos/display_configurator.h" 5 #include "ui/display/chromeos/display_configurator.h"
6 6
7 #include "ui/display/types/native_display_delegate.h" 7 #include "ui/display/types/native_display_delegate.h"
8 #include "ui/ozone/public/ozone_platform.h" 8 #include "ui/ozone/public/ozone_platform.h"
9 9
10 namespace ui { 10 namespace ui {
11 11
12 scoped_ptr<NativeDisplayDelegate> 12 std::unique_ptr<NativeDisplayDelegate>
13 DisplayConfigurator::CreatePlatformNativeDisplayDelegate() { 13 DisplayConfigurator::CreatePlatformNativeDisplayDelegate() {
14 return ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate(); 14 return ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate();
15 } 15 }
16 16
17 } // namespace ui 17 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/display_snapshot_virtual.h ('k') | ui/display/chromeos/query_content_protection_task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698