| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
|
| index 03bcef8310b046038be651ffc4a32342857442ee..4b3190b56537d63c21428e70c9ed0f590793525a 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
|
| @@ -553,9 +553,9 @@ class ChromeLauncherControllerImplTest : public BrowserWithTestWindowTest {
|
| void InsertPrefValue(base::ListValue* pref_value,
|
| int index,
|
| const std::string& extension_id) {
|
| - base::DictionaryValue* entry = new base::DictionaryValue();
|
| + auto entry = base::MakeUnique<base::DictionaryValue>();
|
| entry->SetString(ash::launcher::kPinnedAppsPrefAppIDPath, extension_id);
|
| - pref_value->Insert(index, entry);
|
| + pref_value->Insert(index, std::move(entry));
|
| }
|
|
|
| void InsertRemoveAllPinsChange(syncer::SyncChangeList* list) {
|
|
|