Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Frontend_cpp.template

Issue 1979963002: Remove OwnPtr::release() calls in platform/ (part inspector). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 %}

Powered by Google App Engine
This is Rietveld 408576698