2010-12-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
authorlaszlo.1.gombos@nokia.com <laszlo.1.gombos@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Dec 2010 00:39:13 +0000 (00:39 +0000)
committerlaszlo.1.gombos@nokia.com <laszlo.1.gombos@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Dec 2010 00:39:13 +0000 (00:39 +0000)
        Unreviewed build fix.

        [Symbian] Make sure OSAllocatorSymbian builds

        This patch only addresses the build problem.

        https://bugs.webkit.org/show_bug.cgi?id=51128 tracks the full
        (re)implementation of the Symbian allocator.

        * wtf/OSAllocatorSymbian.cpp:
        (WTF::OSAllocator::reserveUncommitted):
        (WTF::OSAllocator::reserveAndCommit):
        (WTF::OSAllocator::commit):

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

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/OSAllocatorSymbian.cpp

index 1c28826..69b6d3b 100644 (file)
@@ -1,3 +1,19 @@
+2010-12-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Unreviewed build fix.
+
+        [Symbian] Make sure OSAllocatorSymbian builds
+
+        This patch only addresses the build problem.
+
+        https://bugs.webkit.org/show_bug.cgi?id=51128 tracks the full
+        (re)implementation of the Symbian allocator.
+
+        * wtf/OSAllocatorSymbian.cpp:
+        (WTF::OSAllocator::reserveUncommitted):
+        (WTF::OSAllocator::reserveAndCommit):
+        (WTF::OSAllocator::commit):
+
 2010-12-22  Dan Bernstein  <mitz@apple.com>
 
         Changed WebKitTools to Tools.
index d9cbcf5..e746fde 100644 (file)
 
 namespace WTF {
 
-void* OSAllocator::reserveUncommitted(size_t, Usage, bool, bool)
+void* OSAllocator::reserveUncommitted(size_t bytes, Usage, bool, bool)
 {
     return fastMalloc(bytes);
 }
 
 void* OSAllocator::reserveAndCommit(size_t bytes, Usage, bool, bool)
 {
-    return reserve(bytes);
+    return fastMalloc(bytes);
 }
 
-void OSAllocator::commit(void*, size_t, Usage, bool, bool)
+void OSAllocator::commit(void*, size_t, bool, bool)
 {
 }