| Index: third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_cpp.template
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_cpp.template b/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_cpp.template
|
| index 229a0cbe50ba21b430901cf0d2d101c1ee867d82..e0a799727d46e0118bcb07ead0cfaf1fafb7b700 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_cpp.template
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_cpp.template
|
| @@ -80,7 +80,7 @@ PassOwnPtr<{{type.id}}> {{type.id}}::parse(protocol::Value* value, ErrorSupport*
|
| errors->pop();
|
| if (errors->hasErrors())
|
| return nullptr;
|
| - return result.release();
|
| + return result;
|
| }
|
|
|
| PassOwnPtr<protocol::DictionaryValue> {{type.id}}::serialize() const
|
| @@ -94,7 +94,7 @@ PassOwnPtr<protocol::DictionaryValue> {{type.id}}::serialize() const
|
| result->setValue("{{property.name}}", toValue({{resolve_type(property).to_raw_type % ("m_" + property.name)}}));
|
| {% endif %}
|
| {% endfor %}
|
| - return result.release();
|
| + return result;
|
| }
|
|
|
| PassOwnPtr<{{type.id}}> {{type.id}}::clone() const
|
|
|