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

Unified Diff: ui/display/chromeos/apply_content_protection_task_unittest.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/transform_animation_curve_adapter.cc ('k') | ui/display/chromeos/display_configurator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/apply_content_protection_task_unittest.cc
diff --git a/ui/display/chromeos/apply_content_protection_task_unittest.cc b/ui/display/chromeos/apply_content_protection_task_unittest.cc
index 61acee3ba1cfe43302b12f9ec98b5eff90a967ea..2eb95f8ade0a859de72412d121912b6719a0e0ce 100644
--- a/ui/display/chromeos/apply_content_protection_task_unittest.cc
+++ b/ui/display/chromeos/apply_content_protection_task_unittest.cc
@@ -21,9 +21,10 @@ namespace test {
namespace {
-scoped_ptr<DisplaySnapshot> CreateDisplaySnapshot(int64_t id,
- DisplayConnectionType type) {
- scoped_ptr<TestDisplaySnapshot> display(new TestDisplaySnapshot());
+std::unique_ptr<DisplaySnapshot> CreateDisplaySnapshot(
+ int64_t id,
+ DisplayConnectionType type) {
+ std::unique_ptr<TestDisplaySnapshot> display(new TestDisplaySnapshot());
display->set_display_id(id);
display->set_type(type);
« no previous file with comments | « ui/compositor/transform_animation_curve_adapter.cc ('k') | ui/display/chromeos/display_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698