xref: /aosp_15_r20/external/cronet/base/memory/shared_memory_mapper.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "base/memory/shared_memory_mapper.h"
6 
7 #include "base/memory/platform_shared_memory_mapper.h"
8 
9 namespace base {
10 
11 // static
GetDefaultInstance()12 SharedMemoryMapper* SharedMemoryMapper::GetDefaultInstance() {
13   static PlatformSharedMemoryMapper instance;
14   return &instance;
15 }
16 
17 }  // namespace base
18