Index: chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc |
diff --git a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc |
index 9550e156349fb73e1ead39915bdc551e412a7848..303b177e08f5b186867d18018ef4ebf97d0b9b62 100644 |
--- a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc |
+++ b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc |
@@ -118,7 +118,7 @@ class DeviceOAuth2TokenServiceTest : public testing::Test { |
void SetDeviceRefreshTokenInLocalState(const std::string& refresh_token) { |
scoped_testing_local_state_.Get()->SetUserPref( |
prefs::kDeviceRobotAnyApiRefreshToken, |
- base::Value::CreateStringValue(refresh_token)); |
+ new base::StringValue(refresh_token)); |
} |
std::string GetValidTokenInfoResponse(const std::string email) { |