| Index: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
|
| index 7978e5aa3f32c3498085904e1c35611fad6e8414..3d39a55cb7a8dbb87ac0a83dbe1dea8126f02363 100644
|
| --- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
|
| +++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/command_line.h"
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/run_loop.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| @@ -198,7 +199,8 @@ class ExistingUserControllerTest : public policy::DevicePolicyCrosBrowserTest {
|
| void RegisterUser(const std::string& user_id) {
|
| ListPrefUpdate users_pref(g_browser_process->local_state(),
|
| "LoggedInUsers");
|
| - users_pref->AppendIfNotPresent(new base::StringValue(user_id));
|
| + users_pref->AppendIfNotPresent(
|
| + base::MakeUnique<base::StringValue>(user_id));
|
| }
|
|
|
| // ExistingUserController private member accessors.
|
|
|