Index: src/base/platform/time.cc |
diff --git a/src/base/platform/time.cc b/src/base/platform/time.cc |
index f71af1516553d9e326ac15844852b65f23955823..e7867e07955a1094ebd6135210f6b473cfd73339 100644 |
--- a/src/base/platform/time.cc |
+++ b/src/base/platform/time.cc |
@@ -618,14 +618,14 @@ bool TimeTicks::IsHighResolutionClockWorking() { |
#endif // V8_OS_WIN |
-// TODO(lpy): For windows ThreadTicks implementation, |
-// see http://crbug.com/v8/5000 |
bool ThreadTicks::IsSupported() { |
#if (defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \ |
- defined(V8_OS_MACOSX) || defined(V8_OS_ANDROID) |
- return true; |
+ defined(V8_OS_MACOSX) || defined(V8_OS_ANDROID) |
+ return true; |
+#elif defined(V8_OS_WIN) |
+ return IsSupportedWin(); |
#else |
- return false; |
+ return false; |
#endif |
} |