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

Unified Diff: mojo/system/entrypoints.cc

Issue 425523002: Mojo: Convert MemoryTest.Valid to the new user pointer handling (see r285350). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 5 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/system/core.cc ('k') | mojo/system/memory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/entrypoints.cc
diff --git a/mojo/system/entrypoints.cc b/mojo/system/entrypoints.cc
index 2ee2c3e1dd39d0799b6a55366b463dcef0ba458a..576d6ae308129cb71f34bdaabcb31b954bfdfea7 100644
--- a/mojo/system/entrypoints.cc
+++ b/mojo/system/entrypoints.cc
@@ -13,7 +13,6 @@
static mojo::system::Core* g_core = NULL;
using mojo::system::MakeUserPointer;
-using mojo::system::MakeUserPointerValue;
namespace mojo {
namespace system {
@@ -183,7 +182,7 @@ MojoResult MojoMapBuffer(MojoHandle buffer_handle,
}
MojoResult MojoUnmapBuffer(void* buffer) {
- return g_core->UnmapBuffer(MakeUserPointerValue(buffer));
+ return g_core->UnmapBuffer(MakeUserPointer(buffer));
}
} // extern "C"
« no previous file with comments | « mojo/system/core.cc ('k') | mojo/system/memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698