Index: base/debug/proc_maps_linux_unittest.cc |
diff --git a/base/debug/proc_maps_linux_unittest.cc b/base/debug/proc_maps_linux_unittest.cc |
index 9b5bcaca0ebbc3824deec35de46af5b37d9f4d31..2e35ca64c01d01fa177de96dd82f47ce4560b831 100644 |
--- a/base/debug/proc_maps_linux_unittest.cc |
+++ b/base/debug/proc_maps_linux_unittest.cc |
@@ -227,12 +227,8 @@ |
// ignore checking for the stack and address when running under Valgrind. |
// See http://crbug.com/431702 for more details. |
if (!RunningOnValgrind() && regions[i].path == "[stack]") { |
-// On Android the test is run on a background thread, since [stack] is for |
-// the main thread, we cannot test this. |
-#if !defined(OS_ANDROID) |
EXPECT_GE(address, regions[i].start); |
EXPECT_LT(address, regions[i].end); |
-#endif |
EXPECT_TRUE(regions[i].permissions & MappedMemoryRegion::READ); |
EXPECT_TRUE(regions[i].permissions & MappedMemoryRegion::WRITE); |
EXPECT_FALSE(regions[i].permissions & MappedMemoryRegion::EXECUTE); |