summaryrefslogtreecommitdiffstats
path: root/mojo/apps
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 18:03:00 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 18:03:00 +0000
commit2df0c245b1a63647f2588cfcbe115a9039ca1aa6 (patch)
treef95b05c53ff7ec3c60f5dcec95ab7d761005a242 /mojo/apps
parent77a7c431b7852e5ca16a729b1c2805347a1692eb (diff)
downloadchromium_src-2df0c245b1a63647f2588cfcbe115a9039ca1aa6.zip
chromium_src-2df0c245b1a63647f2588cfcbe115a9039ca1aa6.tar.gz
chromium_src-2df0c245b1a63647f2588cfcbe115a9039ca1aa6.tar.bz2
Mojo: Change "handle_[01]" -> "handle[01]".
In accordance with popular opinion. R=sky@chromium.org Review URL: https://codereview.chromium.org/133453003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/apps')
-rw-r--r--mojo/apps/js/bindings/core.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/mojo/apps/js/bindings/core.cc b/mojo/apps/js/bindings/core.cc
index 6b31737..fc7ac02 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;
}