# HG changeset patch
# User t_mrc-ct@users.osdn.jp
# Date 1439808989 -32400
#      Mon Aug 17 19:56:29 2015 +0900
# Branch THUNDERBIRD3870_2016031017_RELBRANCH
# Node ID 53f6f1e0f19b386c42ed7a5b6c18711fe5663021
# Parent  4975db33213a0101f90ae8ce027b8e5aae93029a
No VM_PURGABLE_PURGE_ALL on Tiger

diff --git a/memory/volatile/tests/TestVolatileBuffer.cpp b/memory/volatile/tests/TestVolatileBuffer.cpp
--- a/memory/volatile/tests/TestVolatileBuffer.cpp
+++ b/memory/volatile/tests/TestVolatileBuffer.cpp
@@ -70,17 +70,17 @@
   // Test purging if we know how to
 #if defined(MOZ_WIDGET_GONK)
   // This also works on Android, but we need root.
   int fd = open("/" ASHMEM_NAME_DEF, O_RDWR);
 
   ASSERT_GE(fd, 0) << "Failed to open ashmem device";
   ASSERT_GE(ioctl(fd, ASHMEM_PURGE_ALL_CACHES, NULL), 0)
     << "Failed to purge ashmem caches";
-#elif defined(XP_DARWIN)
+#elif defined(XP_DARWIN) && 0
   int state;
   vm_purgable_control(mach_task_self(), (vm_address_t)NULL,
                       VM_PURGABLE_PURGE_ALL, &state);
 #else
   return;
 #endif
 
   EXPECT_GT(buf->NonHeapSizeOfExcludingThis(), 0ul)
