Index: chrome/browser/chromeos/login/login_utils_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/login_utils_browsertest.cc b/chrome/browser/chromeos/login/login_utils_browsertest.cc |
index 46dece0289289e332f950d7e19545d081b109f73..297daf48e4642b44c9d52c34f8e0f9cc7657ccbb 100644 |
--- a/chrome/browser/chromeos/login/login_utils_browsertest.cc |
+++ b/chrome/browser/chromeos/login/login_utils_browsertest.cc |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/policy/enterprise_install_attributes.h" |
#include "chrome/browser/policy/policy_service.h" |
#include "chrome/browser/policy/proto/device_management_backend.pb.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/rlz/rlz.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -187,7 +188,8 @@ class LoginUtilsTest : public testing::Test, |
// OAuth2 path. |
command_line->AppendSwitch(switches::kForceOAuth1); |
- local_state_.Get()->RegisterStringPref(prefs::kApplicationLocale, ""); |
+ local_state_.Get()->registry()->RegisterStringPref( |
+ prefs::kApplicationLocale, ""); |
// DBusThreadManager should be initialized before io_thread_state_, as |
// DBusThreadManager is used from chromeos::ProxyConfigServiceImpl, |