Index: base/prefs/pref_service.cc |
diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc |
index 8a2c742109b3262261f98c58d1c6a659e5a08e60..42a9a53b940926754e8462b14fdb7594193267db 100644 |
--- a/base/prefs/pref_service.cc |
+++ b/base/prefs/pref_service.cc |
@@ -260,8 +260,8 @@ const base::Value* PrefService::GetUserPrefValue(const char* path) const { |
// Look for an existing preference in the user store. If it doesn't |
// exist, return NULL. |
- base::Value* value = NULL; |
- if (!user_pref_store_->GetMutableValue(path, &value)) |
+ const base::Value* value = NULL; |
+ if (!user_pref_store_->GetValue(path, &value)) |
return NULL; |
if (!value->IsType(pref->GetType())) { |