Title: [101117] trunk/Source/WebCore
Revision
101117
Author
[email protected]
Date
2011-11-23 19:24:26 -0800 (Wed, 23 Nov 2011)

Log Message

Cleanup #if usage in V8GCController
https://bugs.webkit.org/show_bug.cgi?id=73060

Patch by Rafael Weinstein <[email protected]> on 2011-11-23
Reviewed by Ojan Vafai.

No tests needed. Just code cleanup

* bindings/v8/V8GCController.cpp:
(WebCore::V8GCController::checkMemoryUsage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101116 => 101117)


--- trunk/Source/WebCore/ChangeLog	2011-11-24 02:45:02 UTC (rev 101116)
+++ trunk/Source/WebCore/ChangeLog	2011-11-24 03:24:26 UTC (rev 101117)
@@ -1,5 +1,17 @@
 2011-11-23  Rafael Weinstein  <[email protected]>
 
+        Cleanup #if usage in V8GCController
+        https://bugs.webkit.org/show_bug.cgi?id=73060
+
+        Reviewed by Ojan Vafai.
+
+        No tests needed. Just code cleanup
+
+        * bindings/v8/V8GCController.cpp:
+        (WebCore::V8GCController::checkMemoryUsage):
+
+2011-11-23  Rafael Weinstein  <[email protected]>
+
         Change CSSMutableStyleDeclaration::m_node to m_element (along with getter/setter)
         https://bugs.webkit.org/show_bug.cgi?id=73050
 

Modified: trunk/Source/WebCore/bindings/v8/V8GCController.cpp (101116 => 101117)


--- trunk/Source/WebCore/bindings/v8/V8GCController.cpp	2011-11-24 02:45:02 UTC (rev 101116)
+++ trunk/Source/WebCore/bindings/v8/V8GCController.cpp	2011-11-24 03:24:26 UTC (rev 101117)
@@ -516,13 +516,10 @@
     const int lowMemoryUsageMB = PlatformSupport::lowMemoryUsageMB();
     const int highMemoryUsageMB = PlatformSupport::highMemoryUsageMB();
     const int highUsageDeltaMB = PlatformSupport::highUsageDeltaMB();
-#else
-    return;
-#endif
-
     int memoryUsageMB = getMemoryUsageInMB();
     if ((memoryUsageMB > lowMemoryUsageMB && memoryUsageMB > 2 * workingSetEstimateMB) || (memoryUsageMB > highMemoryUsageMB && memoryUsageMB > workingSetEstimateMB + highUsageDeltaMB))
         v8::V8::LowMemoryNotification();
+#endif
 }
 
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to