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

Unified Diff: mojo/apps/js/bindings/core.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 | « no previous file | mojo/public/system/core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/core.cc
diff --git a/mojo/apps/js/bindings/core.cc b/mojo/apps/js/bindings/core.cc
index 6b31737d2bc589073a900f0d3620ae1512681407..fc7ac023753360fdef0f80d7e20249d0ceab55a1 100644
--- a/mojo/apps/js/bindings/core.cc
+++ b/mojo/apps/js/bindings/core.cc
@@ -22,14 +22,14 @@ namespace js {
namespace {
gin::Dictionary CreateMessagePipe(const gin::Arguments& args) {
- MojoHandle handle_0 = MOJO_HANDLE_INVALID;
- MojoHandle handle_1 = MOJO_HANDLE_INVALID;
- MojoResult result = MojoCreateMessagePipe(&handle_0, &handle_1);
+ MojoHandle handle0 = MOJO_HANDLE_INVALID;
+ MojoHandle handle1 = MOJO_HANDLE_INVALID;
+ MojoResult result = MojoCreateMessagePipe(&handle0, &handle1);
CHECK(result == MOJO_RESULT_OK);
gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate());
- dictionary.Set("handle0", handle_0);
- dictionary.Set("handle1", handle_1);
+ dictionary.Set("handle0", handle0);
+ dictionary.Set("handle1", handle1);
return dictionary;
}
« no previous file with comments | « no previous file | mojo/public/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698