Index: chrome/browser/policy/configuration_policy_pref_store.cc |
diff --git a/chrome/browser/policy/configuration_policy_pref_store.cc b/chrome/browser/policy/configuration_policy_pref_store.cc |
index cf445473b73d5ace757b3aa55ab5fd991e972bf6..23c454a4426e01cb6610c79bab2168e3acdeb7fc 100644 |
--- a/chrome/browser/policy/configuration_policy_pref_store.cc |
+++ b/chrome/browser/policy/configuration_policy_pref_store.cc |
@@ -327,7 +327,8 @@ ConfigurationPolicyPrefKeeper::GetValue(const std::string& key, |
if (stored_value->IsType(Value::TYPE_NULL)) |
return PrefStore::READ_USE_DEFAULT; |
- *result = stored_value; |
+ if (result) |
+ *result = stored_value; |
return PrefStore::READ_OK; |
} |