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

zoltan at webkit.org zoltan at webkit.org
Wed Apr 7 23:23:21 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit f853c26460d6700661cd55f065ff2510b995b19d
Author: zoltan at webkit.org <zoltan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Nov 5 07:53:08 2009 +0000

    Allow custom memory allocation control for WebCore's CachedResource
    https://bugs.webkit.org/show_bug.cgi?id=31114
    
    Reviewed by Eric Seidel.
    
    Inherits CachedResource class from Noncopyable because its (its child
    class) CachedCSSStyleSheet instantiated by 'new' in WebCore/loader/Cache.cpp:75
    and it is no need to be copyable.
    
    * loader/CachedResource.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50548 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c112fe3..cb0bd08 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2009-11-05  Zoltan Horvath  <zoltan at webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        Allow custom memory allocation control for WebCore's CachedResource
+        https://bugs.webkit.org/show_bug.cgi?id=31114
+
+        Inherits CachedResource class from Noncopyable because its (its child
+        class) CachedCSSStyleSheet instantiated by 'new' in WebCore/loader/Cache.cpp:75 
+        and it is no need to be copyable.
+
+        * loader/CachedResource.h:
+
 2009-11-04  Mark Mentovai  <mark at chromium.org>
 
         Reviewed by Mark Rowe.
diff --git a/WebCore/loader/CachedResource.h b/WebCore/loader/CachedResource.h
index 05d24fc..66ca1b1 100644
--- a/WebCore/loader/CachedResource.h
+++ b/WebCore/loader/CachedResource.h
@@ -46,7 +46,7 @@ class PurgeableBuffer;
 // A resource that is held in the cache. Classes who want to use this object should derive
 // from CachedResourceClient, to get the function calls in case the requested data has arrived.
 // This class also does the actual communication with the loader to obtain the resource from the network.
-class CachedResource {
+class CachedResource : public Noncopyable {
     friend class Cache;
     friend class InspectorResource;
     

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list