Index: base/trace_event/process_memory_dump.h |
diff --git a/base/trace_event/process_memory_dump.h b/base/trace_event/process_memory_dump.h |
index 3ce9c43118056f12924e558aef27b582d21e6ebf..a997c691da24acf6a05c25626a605ed5fb692a0f 100644 |
--- a/base/trace_event/process_memory_dump.h |
+++ b/base/trace_event/process_memory_dump.h |
@@ -20,7 +20,9 @@ |
// Define COUNT_RESIDENT_BYTES_SUPPORTED if platform supports counting of the |
// resident memory. |
-#if defined(OS_POSIX) && !defined(OS_NACL) |
+// TODO(crbug.com/542671): COUNT_RESIDENT_BYTES_SUPPORTED is disabled on iOS |
+// as it cause memory corruption on iOS 9.0+ devices. |
+#if defined(OS_POSIX) && !defined(OS_NACL) && !defined(OS_IOS) |
#define COUNT_RESIDENT_BYTES_SUPPORTED |
#endif |