| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/edk/embedder/simple_platform_shared_buffer.h" | 5 #include "mojo/edk/embedder/simple_platform_shared_buffer.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include <limits> | 9 #include <limits> |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // SimplePlatformSharedBufferMapping ------------------------------------------- | 80 // SimplePlatformSharedBufferMapping ------------------------------------------- |
| 81 | 81 |
| 82 void SimplePlatformSharedBufferMapping::Unmap() { | 82 void SimplePlatformSharedBufferMapping::Unmap() { |
| 83 BOOL result = UnmapViewOfFile(real_base_); | 83 BOOL result = UnmapViewOfFile(real_base_); |
| 84 PLOG_IF(ERROR, !result) << "UnmapViewOfFile"; | 84 PLOG_IF(ERROR, !result) << "UnmapViewOfFile"; |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace embedder | 87 } // namespace embedder |
| 88 } // namespace mojo | 88 } // namespace mojo |
| OLD | NEW |