| Index: chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| index 7f29b8f723ba4e6178ecf05483ec888c51d330f0..53aecf5f7ff7046540931489a587d33af2cb5136 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| +++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| @@ -154,7 +154,7 @@ class DisplayPreferencesTest : public ash::test::AshTestBase {
|
| const std::string& key,
|
| bool value) {
|
| StoreDisplayPropertyForList(
|
| - list, key, base::WrapUnique(new base::FundamentalValue(value)));
|
| + list, key, base::MakeUnique<base::FundamentalValue>(value));
|
| }
|
|
|
| void StoreDisplayLayoutPrefForList(const display::DisplayIdList& list,
|
| @@ -1036,7 +1036,7 @@ TEST_F(DisplayPreferencesTest, RestoreUnifiedMode) {
|
| StoreDisplayBoolPropertyForList(list, "default_unified", true);
|
| StoreDisplayPropertyForList(
|
| list, "primary-id",
|
| - base::WrapUnique(new base::StringValue(base::Int64ToString(id1))));
|
| + base::MakeUnique<base::StringValue>(base::Int64ToString(id1)));
|
| LoadDisplayPreferences(false);
|
|
|
| // Should not restore to unified unless unified desktop is enabled.
|
|
|