Index: chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
diff --git a/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc b/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
index 94a0b45ff9c70e01ae5def295904c1df0fb30706..a002473f7e93c14b90ff570bef1e94218962558b 100644 |
--- a/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
+++ b/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
@@ -6,6 +6,8 @@ |
#include <memory> |
+#include "base/memory/ptr_util.h" |
+#include "base/values.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/base/testing_browser_process.h" |
#include "chrome/test/base/testing_profile.h" |
@@ -180,7 +182,7 @@ TEST_F(ProfileInfoHandlerTest, PushProfileManagesSupervisedUsers) { |
new DictionaryPrefUpdate(profile()->GetPrefs(), prefs::kSupervisedUsers)); |
base::DictionaryValue* dict = update->Get(); |
dict->SetWithoutPathExpansion("supervised-user-id", |
- new base::DictionaryValue); |
+ base::MakeUnique<base::DictionaryValue>()); |
update.reset(); |
EXPECT_EQ(1U, web_ui()->call_data().size()); |