Index: chrome/browser/chromeos/power/session_length_limiter_unittest.cc |
diff --git a/chrome/browser/chromeos/power/session_length_limiter_unittest.cc b/chrome/browser/chromeos/power/session_length_limiter_unittest.cc |
index f527f0843306fb9419e5fedb36fa37bea997f543..7eec370c966a48d428ce021903263732ecb9627a 100644 |
--- a/chrome/browser/chromeos/power/session_length_limiter_unittest.cc |
+++ b/chrome/browser/chromeos/power/session_length_limiter_unittest.cc |
@@ -99,7 +99,7 @@ class SessionLengthLimiterTest : public testing::Test { |
virtual void SetUp() { |
TestingBrowserProcess::GetGlobal()->SetLocalState(&local_state_); |
- SessionLengthLimiter::RegisterPrefs(&local_state_); |
+ SessionLengthLimiter::RegisterPrefs(local_state_.registry()); |
delegate_ = new NiceMock<MockSessionLengthLimiterDelegate>; |
ON_CALL(*delegate_, GetCurrentTime()) |