Index: third_party/WebKit/Source/platform/inspector_protocol/Values.cpp |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Values.cpp b/third_party/WebKit/Source/platform/inspector_protocol/Values.cpp |
index 8c0bac1169e4c46e13621a7e868b23eb83e18be1..0471d901ee5a82acaad94100cc0b0797663ba6f6 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/Values.cpp |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Values.cpp |
@@ -301,7 +301,7 @@ PassOwnPtr<Value> DictionaryValue::clone() const |
ASSERT(value); |
result->setValue(key, value->clone()); |
} |
- return result.release(); |
+ return std::move(result); |
} |
DictionaryValue::DictionaryValue() |
@@ -329,7 +329,7 @@ PassOwnPtr<Value> ListValue::clone() const |
OwnPtr<ListValue> result = ListValue::create(); |
for (Vector<OwnPtr<protocol::Value>>::const_iterator it = m_data.begin(); it != m_data.end(); ++it) |
result->pushValue((*it)->clone()); |
- return result.release(); |
+ return std::move(result); |
} |
ListValue::ListValue() |