Index: base/threading/platform_thread_linux.cc |
diff --git a/base/threading/platform_thread_linux.cc b/base/threading/platform_thread_linux.cc |
index 97e093291ba72f17eed2e20a7bb4c239ca040aa8..d9e2bd9932f5d107117eacd894d83334a9098d92 100644 |
--- a/base/threading/platform_thread_linux.cc |
+++ b/base/threading/platform_thread_linux.cc |
@@ -107,12 +107,11 @@ void InitOnThread() {} |
void TerminateOnThread() {} |
size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { |
-#if !defined(THREAD_SANITIZER) && !defined(MEMORY_SANITIZER) |
+#if !defined(THREAD_SANITIZER) |
return 0; |
#else |
// ThreadSanitizer bloats the stack heavily. Evidence has been that the |
// default stack size isn't enough for some browser tests. |
- // MemorySanitizer needs this as a temporary fix for http://crbug.com/353687 |
return 2 * (1 << 23); // 2 times 8192K (the default stack size on Linux). |
#endif |
} |