shared_memory_mapper.cc 450 B

1234567891011121314151617
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/memory/shared_memory_mapper.h"
  5. #include "base/memory/platform_shared_memory_mapper.h"
  6. namespace base {
  7. // static
  8. SharedMemoryMapper* SharedMemoryMapper::GetDefaultInstance() {
  9. static PlatformSharedMemoryMapper instance;
  10. return &instance;
  11. }
  12. } // namespace base