Index: base/json/json_reader.h |
diff --git a/base/json/json_reader.h b/base/json/json_reader.h |
index fd053d4336bf12ad2d812e7f0cbd3fd5b2acd881..32e76a92e353231050045e4eca1e68893a7d444b 100644 |
--- a/base/json/json_reader.h |
+++ b/base/json/json_reader.h |
@@ -115,7 +115,7 @@ class BASE_EXPORT JSONReader { |
static std::string ErrorCodeToString(JsonParseError error_code); |
// Parses an input string into a Value that is owned by the caller. |
- Value* ReadToValue(const std::string& json); |
+ scoped_ptr<Value> ReadToValue(const std::string& json); |
// Returns the error code if the last call to ReadToValue() failed. |
// Returns JSON_NO_ERROR otherwise. |