diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/wtf/stack_util.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/wtf/stack_util.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc index b2421649ff3..1aaaa1c60d2 100644 --- a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc +++ b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc @@ -24,12 +24,11 @@ size_t GetUnderestimatedStackSize() { // and its size is different from the value which APIs tells us. #if defined(ADDRESS_SANITIZER) return 0; -#endif // FIXME: On Mac OSX and Linux, this method cannot estimate stack size // correctly for the main thread. -#if defined(__GLIBC__) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ +#elif defined(__GLIBC__) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ defined(OS_FUCHSIA) // pthread_getattr_np() can fail if the thread is not invoked by // pthread_create() (e.g., the main thread of blink_unittests). |