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