Index: chrome/browser/supervised_user/supervised_user_service_unittest.cc |
diff --git a/chrome/browser/supervised_user/supervised_user_service_unittest.cc b/chrome/browser/supervised_user/supervised_user_service_unittest.cc |
index 3f9c49b1930d4b3799e1d34913fdf31b8410c7c0..31bbd9a2b5c57c0e9abcda61289392b89d937117 100644 |
--- a/chrome/browser/supervised_user/supervised_user_service_unittest.cc |
+++ b/chrome/browser/supervised_user/supervised_user_service_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "base/test/scoped_feature_list.h" |
#include "base/threading/thread_task_runner_handle.h" |
+#include "base/values.h" |
#include "build/build_config.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -404,7 +405,8 @@ class SupervisedUserServiceExtensionTestBase |
scoped_refptr<extensions::Extension> MakeThemeExtension() { |
std::unique_ptr<base::DictionaryValue> source(new base::DictionaryValue()); |
source->SetString(extensions::manifest_keys::kName, "Theme"); |
- source->Set(extensions::manifest_keys::kTheme, new base::DictionaryValue()); |
+ source->Set(extensions::manifest_keys::kTheme, |
+ base::MakeUnique<base::DictionaryValue>()); |
source->SetString(extensions::manifest_keys::kVersion, "1.0"); |
extensions::ExtensionBuilder builder; |
scoped_refptr<extensions::Extension> extension = |