| Index: third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template b/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| index c6d4bcb062e082ce0ac5335680e50f44f0ec1d72..0b22c19d8902ea28b441dc6d7aed3f749aff6fd2 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| @@ -38,7 +38,7 @@ void Frontend::{{domain.domain}}::{{event.name}}(
|
| {% for parameter in event.parameters %}
|
| {% if "optional" in parameter %}
|
| if ({{parameter.name}}.isJust())
|
| - paramsObject->setValue("{{parameter.name}}", toValue({{parameter.name}}));
|
| + paramsObject->setValue("{{parameter.name}}", toValue({{parameter.name}}.fromJust()));
|
| {% else %}
|
| paramsObject->setValue("{{parameter.name}}", toValue({{parameter.name}}));
|
| {% endif %}
|
|
|