void InspectorHeapProfilerAgent::stopTrackingHeapObjects(ErrorString* error, const bool* reportProgress) { if (!m_heapStatsUpdateTask) { *error = "Heap object tracking is not started."; return; } requestHeapStatsUpdate(); takeHeapSnapshot(error, reportProgress); stopTrackingHeapObjectsInternal(); }
void V8HeapProfilerAgentImpl::stopTrackingHeapObjects(ErrorString* error, const protocol::Maybe<bool>& reportProgress) { requestHeapStatsUpdate(); takeHeapSnapshot(error, reportProgress); stopTrackingHeapObjectsInternal(); }