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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc
index e3f57ed368b4ac89a00c4222d1123e2b9157cbda..211451fd8411246d01dff14e981650373dc7d34b 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc
@@ -21,7 +21,7 @@
#include "nacl_io/pepper_interface.h"
#include "sdk_util/auto_lock.h"
-#define CHECK_LFLAG(TERMIOS, FLAG) (TERMIOS.c_lflag & FLAG)
+#define CHECK_LFLAG(TERMIOS, FLAG) (TERMIOS.c_lflag& FLAG)
#define IS_ECHO CHECK_LFLAG(termios_, ECHO)
#define IS_ECHOE CHECK_LFLAG(termios_, ECHOE)
@@ -76,7 +76,9 @@ void TtyNode::InitTermios() {
termios_.c_cc[VEOL2] = 0;
}
-EventEmitter* TtyNode::GetEventEmitter() { return emitter_.get(); }
+EventEmitter* TtyNode::GetEventEmitter() {
+ return emitter_.get();
+}
Error TtyNode::Write(const HandleAttr& attr,
const void* buf,
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/dir_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698