Bug 1753192 - Removed unused ProfileChunkedBuffer::ExtractChunkManager() - r=canaltinova

Differential Revision: https://phabricator.services.mozilla.com/D137801
This commit is contained in:
Gerald Squelart 2022-02-11 03:13:50 +00:00
parent 9d51c7527c
commit aa44b10600

View File

@ -138,12 +138,6 @@ class ProfileChunkedBuffer {
}
}
// Stop using the current chunk manager, and return it if owned here.
[[nodiscard]] UniquePtr<ProfileBufferChunkManager> ExtractChunkManager() {
baseprofiler::detail::BaseProfilerMaybeAutoLock lock(mMutex);
return ResetChunkManager(lock);
}
// Clear the contents of this buffer, ready to receive new chunks.
// Note that memory is not freed: No chunks are destroyed, they are all
// receycled.