| 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 d65e35c7f9a3567e692ff39135b0e398e7670c41..e2c87915db49f48302cc65f5483e440f387e46f0 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template
|
| @@ -31,9 +31,9 @@ void Frontend::{{domain.domain}}::{{event.name}}(
|
| {%- endif %} {{parameter.name}}{%- if not loop.last -%}, {% endif -%}
|
| {% endfor -%})
|
| {
|
| - OwnPtr<protocol::DictionaryValue> jsonMessage = DictionaryValue::create();
|
| + std::unique_ptr<protocol::DictionaryValue> jsonMessage = DictionaryValue::create();
|
| jsonMessage->setString("method", "{{domain.domain}}.{{event.name}}");
|
| - OwnPtr<protocol::DictionaryValue> paramsObject = DictionaryValue::create();
|
| + std::unique_ptr<protocol::DictionaryValue> paramsObject = DictionaryValue::create();
|
| {% for parameter in event.parameters %}
|
| {% if "optional" in parameter %}
|
| if ({{parameter.name}}.isJust())
|
|
|