Index: mojo/embedder/simple_platform_shared_buffer.cc |
diff --git a/mojo/embedder/simple_platform_shared_buffer.cc b/mojo/embedder/simple_platform_shared_buffer.cc |
index fc5ee8c7120beac1fcbd41cb7a9375b8c394fc68..8fbe782f448f5cc3604a21979731ca75b70aeaea 100644 |
--- a/mojo/embedder/simple_platform_shared_buffer.cc |
+++ b/mojo/embedder/simple_platform_shared_buffer.cc |
@@ -52,7 +52,7 @@ scoped_ptr<PlatformSharedBufferMapping> SimplePlatformSharedBuffer::Map( |
size_t offset, |
size_t length) { |
if (!IsValidMap(offset, length)) |
- return scoped_ptr<PlatformSharedBufferMapping>(); |
+ return nullptr; |
return MapNoCheck(offset, length); |
} |