Index: chrome/common/pref_store.h |
diff --git a/chrome/common/pref_store.h b/chrome/common/pref_store.h |
index bc74af110b83f3dd602e00a767a2109c8728af62..5e8b2c5964285f1e75f5a97f1baddd7d1194cee6 100644 |
--- a/chrome/common/pref_store.h |
+++ b/chrome/common/pref_store.h |
@@ -54,9 +54,9 @@ class PrefStore : public base::RefCounted<PrefStore> { |
// Whether the store has completed all asynchronous initialization. |
virtual bool IsInitializationComplete() const; |
- // Get the value for a given preference |key| and stores it in |result|. |
- // |result| is only modified if the return value is READ_OK. Ownership of the |
- // |result| value remains with the PrefStore. |
+ // Get the value for a given preference |key| and stores it in |*result|. |
+ // |*result| is only modified if the return value is READ_OK and if |result| |
+ // is not NULL. Ownership of the |*result| value remains with the PrefStore. |
virtual ReadResult GetValue(const std::string& key, |
const base::Value** result) const = 0; |