Title: [197785] trunk/Source/WebCore
Revision
197785
Author
cdu...@apple.com
Date
2016-03-08 10:58:53 -0800 (Tue, 08 Mar 2016)

Log Message

Unreviewed attempt to fix the 32bit build after r197782.

* platform/MemoryPressureHandler.cpp:
(WebCore::MemoryPressureHandler::ReliefLogger::logMemoryUsageChange):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (197784 => 197785)


--- trunk/Source/WebCore/ChangeLog	2016-03-08 18:57:54 UTC (rev 197784)
+++ trunk/Source/WebCore/ChangeLog	2016-03-08 18:58:53 UTC (rev 197785)
@@ -1,3 +1,10 @@
+2016-03-08  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed attempt to fix the 32bit build after r197782.
+
+        * platform/MemoryPressureHandler.cpp:
+        (WebCore::MemoryPressureHandler::ReliefLogger::logMemoryUsageChange):
+
 2016-03-08  Antonio Gomes  <toniki...@webkit.org>
 
         Scrolling does not work when the mouse down is handled by a node

Modified: trunk/Source/WebCore/platform/MemoryPressureHandler.cpp (197784 => 197785)


--- trunk/Source/WebCore/platform/MemoryPressureHandler.cpp	2016-03-08 18:57:54 UTC (rev 197784)
+++ trunk/Source/WebCore/platform/MemoryPressureHandler.cpp	2016-03-08 18:58:53 UTC (rev 197785)
@@ -196,7 +196,7 @@
         return;
     }
 
-    ptrdiff_t memoryDiff = currentMemory - m_initialMemory;
+    long memoryDiff = currentMemory - m_initialMemory;
     if (memoryDiff < 0)
         MEMORYPRESSURE_LOG("Memory pressure relief: " STRING_SPECIFICATION ": -dirty %ld bytes (from %lu to %lu)", m_logString, (memoryDiff * -1), m_initialMemory, currentMemory);
     else if (memoryDiff > 0)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to