[iOS] Another unreviewed build fix after r169746.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 17:42:51 +0000 (17:42 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 17:42:51 +0000 (17:42 +0000)
* platform/cocoa/MemoryPressureHandlerCocoa.mm:
Prevent another unused value error.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/cocoa/MemoryPressureHandlerCocoa.mm

index 59f4c74..8e8e245 100644 (file)
@@ -1,5 +1,12 @@
 2014-06-10  Alex Christensen  <achristensen@webkit.org>
 
+        [iOS] Another unreviewed build fix after r169746.
+
+        * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+        Prevent another unused value error.
+
+2014-06-10  Alex Christensen  <achristensen@webkit.org>
+
         [iOS] Unreviewed build fix after r169746.
 
         * platform/cocoa/MemoryPressureHandlerCocoa.mm:
index bcb0398..5b1a94b 100644 (file)
@@ -70,7 +70,9 @@ static int _notifyToken;
 // These value seems reasonable and testing verifies that it throttles frequent
 // low memory events, greatly reducing CPU usage.
 static const unsigned s_minimumHoldOffTime = 5;
+#if !PLATFORM(IOS)
 static const unsigned s_holdOffMultiplier = 20;
+#endif
 
 void MemoryPressureHandler::install()
 {