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

Unified Diff: mojo/embedder/simple_platform_shared_buffer_win.cc

Issue 612923002: Revert of Revert of 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 | « mojo/embedder/simple_platform_shared_buffer_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/embedder/simple_platform_shared_buffer_win.cc
diff --git a/mojo/embedder/simple_platform_shared_buffer_win.cc b/mojo/embedder/simple_platform_shared_buffer_win.cc
index 1167ac5fa0616b5d5296261de38af65fe79b04ae..97367807efb3796caeb958040d0475ef27d58f15 100644
--- a/mojo/embedder/simple_platform_shared_buffer_win.cc
+++ b/mojo/embedder/simple_platform_shared_buffer_win.cc
@@ -75,7 +75,7 @@
real_length);
if (!real_base) {
PLOG(ERROR) << "MapViewOfFile";
- return scoped_ptr<PlatformSharedBufferMapping>();
+ return nullptr;
}
void* base = static_cast<char*>(real_base) + offset_rounding;
« no previous file with comments | « mojo/embedder/simple_platform_shared_buffer_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698