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); |