Index: chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.cc |
diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.cc b/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.cc |
index d3bd92134d3663db75b1852398bff7f7bc7df461..e5e4cd2605d7f70400e0b11dd2306ccfd84d5f27 100644 |
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.cc |
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager_impl.cc |
@@ -544,10 +544,10 @@ void UserImageManagerImpl::Job::UpdateLocalState() { |
return; |
std::unique_ptr<base::DictionaryValue> entry(new base::DictionaryValue); |
- entry->Set(kImagePathNodeName, new base::StringValue(image_path_.value())); |
+ entry->Set(kImagePathNodeName, new base::Value(image_path_.value())); |
entry->Set(kImageIndexNodeName, new base::Value(image_index_)); |
if (!image_url_.is_empty()) |
- entry->Set(kImageURLNodeName, new base::StringValue(image_url_.spec())); |
+ entry->Set(kImageURLNodeName, new base::Value(image_url_.spec())); |
DictionaryPrefUpdate update(g_browser_process->local_state(), |
kUserImageProperties); |
update->SetWithoutPathExpansion(user_id(), entry.release()); |