Index: third_party/libaddressinput/chromium/cpp/src/util/json.h |
diff --git a/third_party/libaddressinput/chromium/cpp/src/util/json.h b/third_party/libaddressinput/chromium/cpp/src/util/json.h |
index 9af7f1cd0cbaddbf8d509d50ae0a27388675c1d4..c7284728c99561371d973e48d82f6e398ef05d4a 100644 |
--- a/third_party/libaddressinput/chromium/cpp/src/util/json.h |
+++ b/third_party/libaddressinput/chromium/cpp/src/util/json.h |
@@ -50,7 +50,8 @@ class Json { |
// Sets |value| to the dictionary for |key| if it exists and has a dictionary |
// value. Returns false if the key doesn't exist or doesn't correspond to a |
// dictionary. The JSON object must be parsed successfully in ParseObject() |
- // before invoking this method. |
+ // before invoking this method. |value| is only guaranteed to be valid as long |
+ // as |this| is valid. |
virtual bool GetJsonValueForKey(const std::string& key, |
scoped_ptr<Json>* value) const = 0; |