Index: chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc |
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc |
index 1e0dd111be182557afabb2dd2f8b227d71af7c8c..c98a8b13932144759caf2bdd16fac5ea8b06db22 100644 |
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc |
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc |
@@ -20,6 +20,7 @@ |
#include "base/test/simple_test_clock.h" |
#include "base/test/test_timeouts.h" |
#include "base/threading/thread_task_runner_handle.h" |
+#include "base/values.h" |
#include "build/build_config.h" |
#include "chrome/browser/extensions/activity_log/activity_log.h" |
#include "chrome/browser/extensions/extension_service.h" |
@@ -511,8 +512,8 @@ TEST_F(FullStreamUIPolicyTest, LogWithArguments) { |
extension_service_->AddExtension(extension.get()); |
std::unique_ptr<base::ListValue> args(new base::ListValue()); |
- args->Set(0, new base::Value("hello")); |
- args->Set(1, new base::Value("world")); |
+ args->Set(0, base::MakeUnique<base::Value>("hello")); |
+ args->Set(1, base::MakeUnique<base::Value>("world")); |
scoped_refptr<Action> action = new Action(extension->id(), |
base::Time::Now(), |
Action::ACTION_API_CALL, |