# HG changeset patch
# User t_mrc-ct@users.osdn.jp
# Date 1439808989 -32400
#      Mon Aug 17 19:56:29 2015 +0900
# Branch THUNDERBIRD3880_2016050308_RELBRANCH
# Node ID edaf9182cf4eac458badeeb730123218cd74a908
# Parent  f239662f981c2b8abdc7ecf766ac72cdfd511fd1
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)
