Index: runtime/bin/process.h |
diff --git a/runtime/bin/process.h b/runtime/bin/process.h |
index 4ef892908d802492ec0393f22b2fcabda1286b83..48cf21bbb271c8cea87bd33b2cc0a18a5f162216 100644 |
--- a/runtime/bin/process.h |
+++ b/runtime/bin/process.h |
@@ -19,12 +19,8 @@ class ProcessResult { |
public: |
ProcessResult() : exit_code_(0) {} |
- void set_stdout_data(Dart_Handle stdout_data) { |
- stdout_data_ = stdout_data; |
- } |
- void set_stderr_data(Dart_Handle stderr_data) { |
- stderr_data_ = stderr_data; |
- } |
+ void set_stdout_data(Dart_Handle stdout_data) { stdout_data_ = stdout_data; } |
+ void set_stderr_data(Dart_Handle stderr_data) { stderr_data_ = stderr_data; } |
void set_exit_code(intptr_t exit_code) { exit_code_ = exit_code; } |
@@ -127,9 +123,7 @@ class Process { |
} |
typedef void (*ExitHook)(int64_t exit_code); |
- static void SetExitHook(ExitHook hook) { |
- exit_hook_ = hook; |
- } |
+ static void SetExitHook(ExitHook hook) { exit_hook_ = hook; } |
static void RunExitHook(int64_t exit_code) { |
if (exit_hook_ != NULL) { |
exit_hook_(exit_code); |
@@ -143,8 +137,7 @@ class Process { |
static Dart_Handle GetProcessIdNativeField(Dart_Handle process, |
intptr_t* pid); |
- static Dart_Handle SetProcessIdNativeField(Dart_Handle process, |
- intptr_t pid); |
+ static Dart_Handle SetProcessIdNativeField(Dart_Handle process, intptr_t pid); |
private: |
static int global_exit_code_; |
@@ -214,9 +207,7 @@ class BufferListBase { |
next_ = NULL; |
} |
- ~BufferListNode() { |
- delete[] data_; |
- } |
+ ~BufferListNode() { delete[] data_; } |
uint8_t* data_; |
BufferListNode* next_; |
@@ -242,8 +233,7 @@ class BufferListBase { |
Free(); |
return result; |
} |
- for (BufferListNode* current = head_; |
- current != NULL; |
+ for (BufferListNode* current = head_; current != NULL; |
current = current->next_) { |
intptr_t to_copy = dart::Utils::Minimum(data_size_, kBufferSize); |
memmove(buffer + buffer_position, current->data_, to_copy); |