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