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 476152cdab11decd1275951df90f3651dff9b05d..58c7691d59daed37a59c1c1a85a7eb2fdeace944 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template |
@@ -42,9 +42,9 @@ void Frontend::{{domain.domain}}::{{event.name}}( |
paramsObject->setValue("{{parameter.name}}", toValue({{resolve_type(parameter).to_raw_type % parameter.name}})); |
{% endif %} |
{% endfor %} |
- jsonMessage->setObject("params", paramsObject.release()); |
+ jsonMessage->setObject("params", std::move(paramsObject)); |
if (m_frontendChannel) |
- m_frontendChannel->sendProtocolNotification(jsonMessage.release()); |
+ m_frontendChannel->sendProtocolNotification(std::move(jsonMessage)); |
} |
{% endfor %} |
{% endfor %} |