Index: base/time/time_posix.cc |
diff --git a/base/time/time_posix.cc b/base/time/time_posix.cc |
index f8f305f426402b6cc7f4c7c5e192fc48faac3058..3378038fe44686c654abe2e60adf04654e9adb52 100644 |
--- a/base/time/time_posix.cc |
+++ b/base/time/time_posix.cc |
@@ -311,7 +311,8 @@ bool TimeTicks::IsHighResNowFastAndReliable() { |
// static |
TimeTicks TimeTicks::ThreadNow() { |
-#if defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0) |
+#if (defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \ |
+ defined(OS_ANDROID) |
return ClockNow(CLOCK_THREAD_CPUTIME_ID); |
#else |
NOTREACHED(); |