[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:17:12 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 80e04370414ca5d94ccae05d3b105cc936e035d1
Author: zoltan at webkit.org <zoltan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 30 23:06:18 2009 +0000

    Allow custom memory allocation control for WebCore's CSSRuleData
    https://bugs.webkit.org/show_bug.cgi?id=30851
    
    Reviewed by Darin Adler.
    
    Inherits CSSRuleData class from Noncopyable because it is
    instantiated by 'new' in WebCore/css/CSSStyleSelector.h:320 and
    it is no need to be copyable.
    
    * css/CSSStyleSelector.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50365 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 8305103..5d87405 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Darin Adler.
 
+        Allow custom memory allocation control for WebCore's CSSRuleData
+        https://bugs.webkit.org/show_bug.cgi?id=30851
+
+        Inherits CSSRuleData class from Noncopyable because it is
+        instantiated by 'new' in WebCore/css/CSSStyleSelector.h:320 and
+        it is no need to be copyable.
+
+        * css/CSSStyleSelector.h:
+
+2009-10-30  Zoltan Horvath  <zoltan at webkit.org>
+
+        Reviewed by Darin Adler.
+
         Allow custom memory allocation control for WebCore's CSSRuleDataList
         https://bugs.webkit.org/show_bug.cgi?id=30850
 
diff --git a/WebCore/css/CSSStyleSelector.h b/WebCore/css/CSSStyleSelector.h
index 8749c8a..8f56a6f 100644
--- a/WebCore/css/CSSStyleSelector.h
+++ b/WebCore/css/CSSStyleSelector.h
@@ -286,7 +286,7 @@ public:
         HashMap<CSSMutableStyleDeclaration*, RefPtr<CSSMutableStyleDeclaration> > m_resolvedVariablesDeclarations;
     };
 
-    class CSSRuleData {
+    class CSSRuleData : public Noncopyable {
     public:
         CSSRuleData(unsigned pos, CSSStyleRule* r, CSSSelector* sel, CSSRuleData* prev = 0)
             : m_position(pos)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list