Index: chrome/browser/chromeos/session_length_limiter_unittest.cc |
diff --git a/chrome/browser/chromeos/session_length_limiter_unittest.cc b/chrome/browser/chromeos/session_length_limiter_unittest.cc |
index 25f17d14d10811e574ad3291d57411cccb1242cf..43a7640cc38e84b7dde1ffd7d10105483b3a78f3 100644 |
--- a/chrome/browser/chromeos/session_length_limiter_unittest.cc |
+++ b/chrome/browser/chromeos/session_length_limiter_unittest.cc |
@@ -121,10 +121,9 @@ bool SessionLengthLimiterTest::GetSessionUserActivitySeenPref() { |
void SessionLengthLimiterTest::SetSessionStartTimePref( |
const base::TimeTicks& session_start_time) { |
- local_state_.SetUserPref( |
- prefs::kSessionStartTime, |
- new base::StringValue( |
- base::Int64ToString(session_start_time.ToInternalValue()))); |
+ local_state_.SetUserPref(prefs::kSessionStartTime, |
+ new base::Value(base::Int64ToString( |
+ session_start_time.ToInternalValue()))); |
} |
void SessionLengthLimiterTest::ClearSessionStartTimePref() { |