Title: [88823] trunk/Source/WebCore
Revision
88823
Author
msab...@apple.com
Date
2011-06-14 10:54:55 -0700 (Tue, 14 Jun 2011)

Log Message

2011-06-14  Michael Saboff  <msab...@apple.com>

        Reviewed by Joseph Pecoraro.

        Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
        https://bugs.webkit.org/show_bug.cgi?id=62649

        The #ifdef DISPATCH_VM_PRESSURE actually needs to be #ifndef
        to handle when DISPATCH_VM_PRESSURE is NOT defined in the
        system header files.

        No functional changes, fixing build issue therefore no tests.

        * platform/mac/MemoryPressureHandlerMac.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (88822 => 88823)


--- trunk/Source/WebCore/ChangeLog	2011-06-14 17:44:45 UTC (rev 88822)
+++ trunk/Source/WebCore/ChangeLog	2011-06-14 17:54:55 UTC (rev 88823)
@@ -1,3 +1,18 @@
+2011-06-14  Michael Saboff  <msab...@apple.com>
+
+        Reviewed by Joseph Pecoraro.
+
+        Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
+        https://bugs.webkit.org/show_bug.cgi?id=62649
+
+        The #ifdef DISPATCH_VM_PRESSURE actually needs to be #ifndef
+        to handle when DISPATCH_VM_PRESSURE is NOT defined in the
+        system header files.
+
+        No functional changes, fixing build issue therefore no tests.
+
+        * platform/mac/MemoryPressureHandlerMac.mm:
+
 2011-06-13  Adrienne Walker  <e...@google.com>
 
         Reviewed by James Robinson.

Modified: trunk/Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm (88822 => 88823)


--- trunk/Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm	2011-06-14 17:44:45 UTC (rev 88822)
+++ trunk/Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm	2011-06-14 17:54:55 UTC (rev 88823)
@@ -40,7 +40,7 @@
 DISPATCH_EXPORT const struct dispatch_source_type_s _dispatch_source_type_vm;
 #endif
 
-#ifdef DISPATCH_VM_PRESSURE
+#ifndef DISPATCH_VM_PRESSURE
 enum {
  DISPATCH_VM_PRESSURE = 0x80000000,
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to