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

Unified Diff: ui/display/chromeos/query_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
Index: ui/display/chromeos/query_content_protection_task_unittest.cc
diff --git a/ui/display/chromeos/query_content_protection_task_unittest.cc b/ui/display/chromeos/query_content_protection_task_unittest.cc
index 35f5f6b8fa04ddb86861b80f79ddcdf827b75050..3f7ac25a0f1526f527ad261330a6fc9408dacb98 100644
--- a/ui/display/chromeos/query_content_protection_task_unittest.cc
+++ b/ui/display/chromeos/query_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/display/chromeos/ozone/display_configurator_ozone.cc ('k') | ui/display/chromeos/update_display_configuration_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698