chromium/base/allocator/partition_allocator/src/partition_alloc/internal_allocator.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "partition_alloc/internal_allocator.h"

namespace partition_alloc::internal {
PA_COMPONENT_EXPORT(PARTITION_ALLOC)
PartitionRoot& InternalAllocatorRoot() {}

// static
void* InternalPartitionAllocated::operator new(size_t count) {}
// static
void* InternalPartitionAllocated::operator new(size_t count,
                                               std::align_val_t alignment) {}
// static
void InternalPartitionAllocated::operator delete(void* ptr) {}
// static
void InternalPartitionAllocated::operator delete(void* ptr, std::align_val_t) {}

// A deleter for `std::unique_ptr<T>`.
void InternalPartitionDeleter::operator()(void* ptr) const {}
}  // namespace partition_alloc::internal