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

Unified Diff: mojo/public/system/core_cpp.h

Issue 140503005: Mojo: foo_[0-9] -> foo[0-9]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | mojo/public/tests/system/core_cpp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/system/core_cpp.h
diff --git a/mojo/public/system/core_cpp.h b/mojo/public/system/core_cpp.h
index e1d3924db1af630d565a215a26c164689dd4a98e..2b1fb8a4e85eefc895e089ef6182ab15b542c03e 100644
--- a/mojo/public/system/core_cpp.h
+++ b/mojo/public/system/core_cpp.h
@@ -186,17 +186,17 @@ MOJO_COMPILE_ASSERT(sizeof(ScopedMessagePipeHandle) ==
// TODO(vtl): In C++11, we could instead return a pair of
// |ScopedMessagePipeHandle|s.
-inline void CreateMessagePipe(ScopedMessagePipeHandle* message_pipe_0,
- ScopedMessagePipeHandle* message_pipe_1) {
- assert(message_pipe_0);
- assert(message_pipe_1);
- MessagePipeHandle h_0;
- MessagePipeHandle h_1;
+inline void CreateMessagePipe(ScopedMessagePipeHandle* message_pipe0,
+ ScopedMessagePipeHandle* message_pipe1) {
+ assert(message_pipe0);
+ assert(message_pipe1);
+ MessagePipeHandle h0;
+ MessagePipeHandle h1;
MojoResult result MOJO_ALLOW_UNUSED =
- MojoCreateMessagePipe(h_0.mutable_value(), h_1.mutable_value());
+ MojoCreateMessagePipe(h0.mutable_value(), h1.mutable_value());
assert(result == MOJO_RESULT_OK);
- message_pipe_0->reset(h_0);
- message_pipe_1->reset(h_1);
+ message_pipe0->reset(h0);
+ message_pipe1->reset(h1);
}
class MessagePipe {
« no previous file with comments | « no previous file | mojo/public/tests/system/core_cpp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698