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

Unified Diff: runtime/bin/thread_android.cc

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « runtime/bin/thread.h ('k') | runtime/bin/thread_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/thread_android.cc
diff --git a/runtime/bin/thread_android.cc b/runtime/bin/thread_android.cc
index f84a988b4a33e1763e41815b0c3ec914f0a5094d..4f5c5479d7354170936823d33ff8e89a32e30b4a 100644
--- a/runtime/bin/thread_android.cc
+++ b/runtime/bin/thread_android.cc
@@ -6,6 +6,7 @@
#if defined(TARGET_OS_ANDROID)
#include "bin/thread.h"
+#include "bin/thread_android.h"
#include <errno.h> // NOLINT
#include <sys/time.h> // NOLINT
@@ -37,7 +38,9 @@ namespace bin {
}
#else
#define RETURN_ON_PTHREAD_FAILURE(result) \
- if (result != 0) return result;
+ if (result != 0) { \
+ return result; \
+ }
#endif
@@ -164,7 +167,7 @@ intptr_t Thread::ThreadIdToIntPtr(ThreadId id) {
bool Thread::Compare(ThreadId a, ThreadId b) {
- return a == b;
+ return (a == b);
}
« no previous file with comments | « runtime/bin/thread.h ('k') | runtime/bin/thread_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698