diff options
Diffstat (limited to 'mojo/embedder/simple_platform_shared_buffer_win.cc')
-rw-r--r-- | mojo/embedder/simple_platform_shared_buffer_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mojo/embedder/simple_platform_shared_buffer_win.cc b/mojo/embedder/simple_platform_shared_buffer_win.cc index 73a4d6f..9736780 100644 --- a/mojo/embedder/simple_platform_shared_buffer_win.cc +++ b/mojo/embedder/simple_platform_shared_buffer_win.cc @@ -79,8 +79,9 @@ scoped_ptr<PlatformSharedBufferMapping> SimplePlatformSharedBuffer::MapImpl( } void* base = static_cast<char*>(real_base) + offset_rounding; - return make_scoped_ptr(new SimplePlatformSharedBufferMapping( - base, length, real_base, real_length)); + return scoped_ptr<PlatformSharedBufferMapping>( + new SimplePlatformSharedBufferMapping( + base, length, real_base, real_length)); } // SimplePlatformSharedBufferMapping ------------------------------------------- |