| Index: chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc b/chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc
|
| index 0fadf5e535b6cc1286b0e3e5d862aa22059d44df..c1373ebb83700bd4920ff8b8cacc84bec1f71963 100644
|
| --- a/chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc
|
| +++ b/chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/ui/webui/signin/sync_confirmation_handler.h"
|
|
|
| -#include "base/memory/ptr_util.h"
|
| #include "base/test/user_action_tester.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/profiles/profile_avatar_icon_util.h"
|
| @@ -190,7 +189,7 @@
|
| "http://picture.example.com/picture.jpg");
|
|
|
| base::ListValue args;
|
| - args.Set(0, base::MakeUnique<base::Value>(kDefaultDialogHeight));
|
| + args.Set(0, new base::Value(kDefaultDialogHeight));
|
| handler()->HandleInitializedWithSize(&args);
|
| EXPECT_EQ(2U, web_ui()->call_data().size());
|
|
|
| @@ -219,7 +218,7 @@
|
|
|
| TEST_F(SyncConfirmationHandlerTest, TestSetImageIfPrimaryAccountReadyLater) {
|
| base::ListValue args;
|
| - args.Set(0, base::MakeUnique<base::Value>(kDefaultDialogHeight));
|
| + args.Set(0, new base::Value(kDefaultDialogHeight));
|
| handler()->HandleInitializedWithSize(&args);
|
| EXPECT_EQ(2U, web_ui()->call_data().size());
|
|
|
| @@ -271,7 +270,7 @@
|
| TEST_F(SyncConfirmationHandlerTest,
|
| TestSetImageIgnoredIfSecondaryAccountUpdated) {
|
| base::ListValue args;
|
| - args.Set(0, base::MakeUnique<base::Value>(kDefaultDialogHeight));
|
| + args.Set(0, new base::Value(kDefaultDialogHeight));
|
| handler()->HandleInitializedWithSize(&args);
|
| EXPECT_EQ(2U, web_ui()->call_data().size());
|
|
|
|
|