Index: mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
diff --git a/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc b/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
index 8dfcf44bbac1cdae7fb06d0eb8cdc988503fe88d..ebb55eeb94240b3065f9768bc89464aee9929df7 100644 |
--- a/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
+++ b/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
@@ -127,9 +127,12 @@ |
DCHECK_LE(static_cast<uint64_t>(real_offset), |
static_cast<uint64_t>(std::numeric_limits<off_t>::max())); |
- void* real_base = |
- mmap(nullptr, real_length, PROT_READ | PROT_WRITE, MAP_SHARED, |
- handle_.get().fd, static_cast<off_t>(real_offset)); |
+ void* real_base = mmap(nullptr, |
+ real_length, |
+ PROT_READ | PROT_WRITE, |
+ MAP_SHARED, |
+ handle_.get().fd, |
+ static_cast<off_t>(real_offset)); |
// |mmap()| should return |MAP_FAILED| (a.k.a. -1) on error. But it shouldn't |
// return null either. |
if (real_base == MAP_FAILED || !real_base) { |