diff options
Diffstat (limited to 'mojo/embedder/simple_platform_shared_buffer_win.cc')
-rw-r--r-- | mojo/embedder/simple_platform_shared_buffer_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/embedder/simple_platform_shared_buffer_win.cc b/mojo/embedder/simple_platform_shared_buffer_win.cc index d2caa2e..1167ac5 100644 --- a/mojo/embedder/simple_platform_shared_buffer_win.cc +++ b/mojo/embedder/simple_platform_shared_buffer_win.cc @@ -34,11 +34,11 @@ bool SimplePlatformSharedBuffer::Init() { // multiple of 64 KB). This may cause problems with NaCl. Cross this bridge // when we get there. crbug.com/210609 handle_.reset(PlatformHandle(CreateFileMapping(INVALID_HANDLE_VALUE, - NULL, + nullptr, PAGE_READWRITE, 0, static_cast<DWORD>(num_bytes_), - NULL))); + nullptr))); if (!handle_.is_valid()) { PLOG(ERROR) << "CreateFileMapping"; return false; |