| Index: base/memory/shared_memory.h
|
| diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
|
| index 0ec9ca7abf073d954abe8400db1cf78ab5e3cfa6..e1c9fa70bd793779a5563e5d72a9a6c119a54ca3 100644
|
| --- a/base/memory/shared_memory.h
|
| +++ b/base/memory/shared_memory.h
|
| @@ -24,6 +24,10 @@
|
| #include "base/files/scoped_file.h"
|
| #endif
|
|
|
| +#if defined(OS_WIN)
|
| +#include "base/win/scoped_handle.h"
|
| +#endif
|
| +
|
| namespace base {
|
|
|
| class FilePath;
|
| @@ -263,7 +267,7 @@ class BASE_EXPORT SharedMemory {
|
| // before being mapped.
|
| bool external_section_;
|
| std::wstring name_;
|
| - HANDLE mapped_file_;
|
| + win::ScopedHandle mapped_file_;
|
| #elif defined(OS_MACOSX) && !defined(OS_IOS)
|
| // The OS primitive that backs the shared memory region.
|
| SharedMemoryHandle shm_;
|
|
|