[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:36:58 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 9cd89e15d7b01b456438f6d7a09f044ec9e76009
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Dec 15 16:54:49 2009 +0000

    2009-12-15  Zoltan Horvath  <zoltan at webkit.org>
    
            Reviewed by Darin Adler.
    
            Allow custom memory allocation control for WebCore/platform/network directory's classes
            https://bugs.webkit.org/show_bug.cgi?id=32553
    
            Inherits the following class from Noncopyable because it is instantiated
            by 'new' and no need to be copyable:
    
            class/struct name                      - instantiated at: WebCore/'location'
    
            struct CrossThreadResourceResponseData - platform/network/ResourceResponseBase.cpp:109
    
            Inherits the following classes from FastAllocBase because these are
            instantiated by 'new':
    
            class ResourceResponseBase - (its child class) platform/network/ResourceResponseBase.cpp:90
            class ResourceRequestBase  - (its child class) loader/DocumentThreadableLoader.cpp:88
    
            * platform/network/ResourceRequestBase.h:
            * platform/network/ResourceResponseBase.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9a0c3ee..992bca1 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,29 @@
 
         Reviewed by Darin Adler.
 
+        Allow custom memory allocation control for WebCore/platform/network directory's classes
+        https://bugs.webkit.org/show_bug.cgi?id=32553
+
+        Inherits the following class from Noncopyable because it is instantiated
+        by 'new' and no need to be copyable:
+
+        class/struct name                      - instantiated at: WebCore/'location'
+
+        struct CrossThreadResourceResponseData - platform/network/ResourceResponseBase.cpp:109
+
+        Inherits the following classes from FastAllocBase because these are
+        instantiated by 'new':
+
+        class ResourceResponseBase - (its child class) platform/network/ResourceResponseBase.cpp:90
+        class ResourceRequestBase  - (its child class) loader/DocumentThreadableLoader.cpp:88
+
+        * platform/network/ResourceRequestBase.h:
+        * platform/network/ResourceResponseBase.h:
+
+2009-12-15  Zoltan Horvath  <zoltan at webkit.org>
+
+        Reviewed by Darin Adler.
+
         Allow custom memory allocation control for AnimationControllerPrivate and FillLayerPropertyWrapperGetter
         https://bugs.webkit.org/show_bug.cgi?id=32549
 
diff --git a/WebCore/platform/network/ResourceRequestBase.h b/WebCore/platform/network/ResourceRequestBase.h
index 931a9de..adf8327 100644
--- a/WebCore/platform/network/ResourceRequestBase.h
+++ b/WebCore/platform/network/ResourceRequestBase.h
@@ -50,7 +50,7 @@ namespace WebCore {
     struct CrossThreadResourceRequestData;
 
     // Do not use this type directly.  Use ResourceRequest instead.
-    class ResourceRequestBase {
+    class ResourceRequestBase : public FastAllocBase {
     public:
         // The type of this ResourceRequest, based on how the resource will be used.
         enum TargetType {
diff --git a/WebCore/platform/network/ResourceResponseBase.h b/WebCore/platform/network/ResourceResponseBase.h
index e06c6f8..bf197a7 100644
--- a/WebCore/platform/network/ResourceResponseBase.h
+++ b/WebCore/platform/network/ResourceResponseBase.h
@@ -38,7 +38,7 @@ class ResourceResponse;
 struct CrossThreadResourceResponseData;
 
 // Do not use this class directly, use the class ResponseResponse instead
-class ResourceResponseBase {
+class ResourceResponseBase : public FastAllocBase {
 public:
     static std::auto_ptr<ResourceResponse> adopt(std::auto_ptr<CrossThreadResourceResponseData>);
 
@@ -151,7 +151,7 @@ private:
 inline bool operator==(const ResourceResponse& a, const ResourceResponse& b) { return ResourceResponseBase::compare(a, b); }
 inline bool operator!=(const ResourceResponse& a, const ResourceResponse& b) { return !(a == b); }
 
-struct CrossThreadResourceResponseData {
+struct CrossThreadResourceResponseData : Noncopyable {
     KURL m_url;
     String m_mimeType;
     long long m_expectedContentLength;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list