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

Unified Diff: mojo/system/core_impl.cc

Issue 133453003: Mojo: Change "handle_[01]" -> "handle[01]". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 6 years, 11 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_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/core_impl.cc
diff --git a/mojo/system/core_impl.cc b/mojo/system/core_impl.cc
index 79d7ea36b4bc58fb8b8dd61223f53771faa4dd3b..74cda83b8c497f5b68ffeb0acad0dc361557be8f 100644
--- a/mojo/system/core_impl.cc
+++ b/mojo/system/core_impl.cc
@@ -148,11 +148,11 @@ MojoResult CoreImpl::WaitMany(const MojoHandle* handles,
return WaitManyInternal(handles, flags, num_handles, deadline);
}
-MojoResult CoreImpl::CreateMessagePipe(MojoHandle* message_pipe_handle_0,
- MojoHandle* message_pipe_handle_1) {
- if (!VerifyUserPointer<MojoHandle>(message_pipe_handle_0, 1))
+MojoResult CoreImpl::CreateMessagePipe(MojoHandle* message_pipe_handle0,
+ MojoHandle* message_pipe_handle1) {
+ if (!VerifyUserPointer<MojoHandle>(message_pipe_handle0, 1))
return MOJO_RESULT_INVALID_ARGUMENT;
- if (!VerifyUserPointer<MojoHandle>(message_pipe_handle_1, 1))
+ if (!VerifyUserPointer<MojoHandle>(message_pipe_handle1, 1))
return MOJO_RESULT_INVALID_ARGUMENT;
scoped_refptr<MessagePipeDispatcher> dispatcher_0(
@@ -179,8 +179,8 @@ MojoResult CoreImpl::CreateMessagePipe(MojoHandle* message_pipe_handle_0,
dispatcher_0->Init(message_pipe, 0);
dispatcher_1->Init(message_pipe, 1);
- *message_pipe_handle_0 = h0;
- *message_pipe_handle_1 = h1;
+ *message_pipe_handle0 = h0;
+ *message_pipe_handle1 = h1;
return MOJO_RESULT_OK;
}
« no previous file with comments | « mojo/system/core_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698