Index: third_party/inspector_protocol/templates/Imported_h.template |
diff --git a/third_party/inspector_protocol/templates/Imported_h.template b/third_party/inspector_protocol/templates/Imported_h.template |
index afd56685845f6ab84fbcf3c0aa0a6af8d2247016..aa8d392fc208dd40b077f861b456ad36dee78990 100644 |
--- a/third_party/inspector_protocol/templates/Imported_h.template |
+++ b/third_party/inspector_protocol/templates/Imported_h.template |
@@ -22,7 +22,7 @@ namespace {{namespace}} { |
template<> |
struct ValueConversions<{{"::".join(config.imported.namespace)}}::{{domain.domain}}::API::{{type.id}}> { |
- static std::unique_ptr<{{"::".join(config.imported.namespace)}}::{{domain.domain}}::API::{{type.id}}> parse(protocol::Value* value, ErrorSupport* errors) |
+ static std::unique_ptr<{{"::".join(config.imported.namespace)}}::{{domain.domain}}::API::{{type.id}}> fromValue(protocol::Value* value, ErrorSupport* errors) |
{ |
if (!value) { |
errors->addError("value expected"); |