| Index: base/metrics/persistent_histogram_allocator.cc
|
| diff --git a/base/metrics/persistent_histogram_allocator.cc b/base/metrics/persistent_histogram_allocator.cc
|
| index 939174ecaf63f867fbfe96bc9b784ba4a6ad0612..92004682ec497916c37187ec470fe1bac5d0a6b3 100644
|
| --- a/base/metrics/persistent_histogram_allocator.cc
|
| +++ b/base/metrics/persistent_histogram_allocator.cc
|
| @@ -785,24 +785,6 @@ void GlobalHistogramAllocator::ConstructFilePaths(const FilePath& dir,
|
| #endif // !defined(OS_NACL)
|
|
|
| // static
|
| -void GlobalHistogramAllocator::CreateWithSharedMemory(
|
| - std::unique_ptr<SharedMemory> memory,
|
| - size_t size,
|
| - uint64_t id,
|
| - StringPiece name) {
|
| - if ((!memory->memory() && !memory->Map(size)) ||
|
| - !SharedPersistentMemoryAllocator::IsSharedMemoryAcceptable(*memory)) {
|
| - NOTREACHED();
|
| - return;
|
| - }
|
| -
|
| - DCHECK_LE(memory->mapped_size(), size);
|
| - Set(WrapUnique(
|
| - new GlobalHistogramAllocator(MakeUnique<SharedPersistentMemoryAllocator>(
|
| - std::move(memory), 0, StringPiece(), /*readonly=*/false))));
|
| -}
|
| -
|
| -// static
|
| void GlobalHistogramAllocator::CreateWithSharedMemoryHandle(
|
| const SharedMemoryHandle& handle,
|
| size_t size) {
|
|
|