[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 13:25:51 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 602574fc7ef15b50a3208c6eba78e471a94a079d
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 15 02:31:30 2010 +0000

    2010-09-14  Hyung Song  <beergun at company100.net>
    
            Reviewed by Kent Tamura.
    
            [BREWMP] Add IMemGroup and IMemSpace to OwnPtr type.
            https://bugs.webkit.org/show_bug.cgi?id=44764
    
            * wtf/OwnPtrCommon.h:
            * wtf/brew/OwnPtrBrew.cpp:
            (WTF::deleteOwnedPtr):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 38bf5ef..a459e3f 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-14  Hyung Song  <beergun at company100.net>
+
+        Reviewed by Kent Tamura.
+
+        [BREWMP] Add IMemGroup and IMemSpace to OwnPtr type.
+        https://bugs.webkit.org/show_bug.cgi?id=44764
+
+        * wtf/OwnPtrCommon.h:
+        * wtf/brew/OwnPtrBrew.cpp:
+        (WTF::deleteOwnedPtr):
+
 2010-09-14  Darin Adler  <darin at apple.com>
 
         Reviewed by Geoffrey Garen.
diff --git a/JavaScriptCore/wtf/OwnPtrCommon.h b/JavaScriptCore/wtf/OwnPtrCommon.h
index 37c135d..19256ea 100644
--- a/JavaScriptCore/wtf/OwnPtrCommon.h
+++ b/JavaScriptCore/wtf/OwnPtrCommon.h
@@ -46,6 +46,8 @@ typedef struct _IFileMgr IFileMgr;
 typedef struct _IFile IFile;
 typedef struct IBitmap IBitmap;
 typedef struct ISSL ISSL;
+typedef struct IMemGroup IMemGroup;
+typedef struct IMemSpace IMemSpace;
 #endif
 
 namespace WTF {
@@ -73,6 +75,8 @@ namespace WTF {
     void deleteOwnedPtr(IBitmap*);
     void deleteOwnedPtr(ISSL*);
     void deleteOwnedPtr(ISocket*);
+    void deleteOwnedPtr(IMemGroup*);
+    void deleteOwnedPtr(IMemSpace*);
 #endif
 
 } // namespace WTF
diff --git a/JavaScriptCore/wtf/brew/OwnPtrBrew.cpp b/JavaScriptCore/wtf/brew/OwnPtrBrew.cpp
index 28046bd..ce10fc3 100644
--- a/JavaScriptCore/wtf/brew/OwnPtrBrew.cpp
+++ b/JavaScriptCore/wtf/brew/OwnPtrBrew.cpp
@@ -28,6 +28,8 @@
 
 #include <AEEBitmap.h>
 #include <AEEFile.h>
+#include <AEEIMemGroup.h>
+#include <AEEIMemSpace.h>
 #include <AEENet.h>
 #include <AEESSL.h>
 #include <AEEStdLib.h>
@@ -58,6 +60,18 @@ void deleteOwnedPtr(ISSL* ptr)
         ISSL_Release(ptr);
 }
 
+void deleteOwnedPtr(IMemGroup* ptr)
+{
+    if (ptr)
+        IMemGroup_Release(ptr);
+}
+
+void deleteOwnedPtr(IMemSpace* ptr)
+{
+    if (ptr)
+        IMemSpace_Release(ptr);
+}
+
 void deleteOwnedPtr(ISocket* ptr)
 {
     if (ptr)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list