| Index: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| index f5bc036b8eec72faf66919ee01cbeb24b0d5df71..4323af3d0a987212e8fad6023bdb756808d6bf2e 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| @@ -139,7 +139,7 @@ public:
|
| statsDiff->addItem(updateData[i].count);
|
| statsDiff->addItem(updateData[i].size);
|
| }
|
| - m_frontend->heapStatsUpdate(statsDiff.release());
|
| + m_frontend->heapStatsUpdate(std::move(statsDiff));
|
| return kContinue;
|
| }
|
|
|
| @@ -379,7 +379,7 @@ PassOwnPtr<protocol::HeapProfiler::SamplingHeapProfileNode> buildSampingHeapProf
|
| .setColumnNumber(node->column_number)
|
| .setSelfSize(selfSize)
|
| .setChildren(std::move(children)).build();
|
| - return result.release();
|
| + return result;
|
| }
|
| } // namespace
|
| #endif
|
|
|