Index: components/safe_json/safe_json_parser_impl.h |
diff --git a/components/safe_json/safe_json_parser_impl.h b/components/safe_json/safe_json_parser_impl.h |
index 03ac99563f52e61816884f16a87dbafbdacbf77c..61edfe6999a37d9c1e87111fed6e661af6100eb0 100644 |
--- a/components/safe_json/safe_json_parser_impl.h |
+++ b/components/safe_json/safe_json_parser_impl.h |
@@ -39,7 +39,7 @@ class SafeJsonParserImpl : public SafeJsonParser { |
void OnConnectionError(); |
// mojom::SafeJsonParser::Parse callback. |
- void OnParseDone(std::unique_ptr<base::Value> result, |
+ void OnParseDone(const base::Optional<base::Value>& result, |
const base::Optional<std::string>& error); |
// Reports the result on the calling task runner via the |success_callback_| |