Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1388)

Unified Diff: mojo/embedder/simple_platform_shared_buffer.cc

Issue 606143003: Mojo: Convert scoped_ptr<...>() to nullptr in mojo/embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/embedder/simple_platform_shared_buffer_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | mojo/embedder/simple_platform_shared_buffer_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698