mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1753192 - Removed unused ProfileChunkedBuffer::ExtractChunkManager() - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D137801
This commit is contained in:
parent
9d51c7527c
commit
aa44b10600
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user