Title: [99706] trunk/Source/WebCore
Revision
99706
Author
[email protected]
Date
2011-11-09 07:00:26 -0800 (Wed, 09 Nov 2011)

Log Message

CSS: Remove redudant WTF_MAKE_FAST_ALLOCATED macros.
<http://webkit.org/b/71897>

Reviewed by Antti Koivisto.

Everything that inherits from RefCounted<T> is already fast-allocated,
so we don't need this in subclasses.

* css/CSSImageValue.h:
* css/CSSImportRule.h:
* css/WebKitCSSShaderValue.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (99705 => 99706)


--- trunk/Source/WebCore/ChangeLog	2011-11-09 14:58:20 UTC (rev 99705)
+++ trunk/Source/WebCore/ChangeLog	2011-11-09 15:00:26 UTC (rev 99706)
@@ -1,3 +1,17 @@
+2011-11-09  Andreas Kling  <[email protected]>
+
+        CSS: Remove redudant WTF_MAKE_FAST_ALLOCATED macros.
+        <http://webkit.org/b/71897>
+
+        Reviewed by Antti Koivisto.
+
+        Everything that inherits from RefCounted<T> is already fast-allocated,
+        so we don't need this in subclasses.
+
+        * css/CSSImageValue.h:
+        * css/CSSImportRule.h:
+        * css/WebKitCSSShaderValue.h:
+
 2011-11-09  Igor Oliveira  <[email protected]>
 
         [TextureMapper] Clean up TextureMapperAnimation constructor

Modified: trunk/Source/WebCore/css/CSSImageValue.h (99705 => 99706)


--- trunk/Source/WebCore/css/CSSImageValue.h	2011-11-09 14:58:20 UTC (rev 99705)
+++ trunk/Source/WebCore/css/CSSImageValue.h	2011-11-09 15:00:26 UTC (rev 99706)
@@ -31,7 +31,6 @@
 class StyleImage;
 
 class CSSImageValue : public CSSPrimitiveValue {
-    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<CSSImageValue> create() { return adoptRef(new CSSImageValue); }
     static PassRefPtr<CSSImageValue> create(const String& url) { return adoptRef(new CSSImageValue(url)); }

Modified: trunk/Source/WebCore/css/CSSImportRule.h (99705 => 99706)


--- trunk/Source/WebCore/css/CSSImportRule.h	2011-11-09 14:58:20 UTC (rev 99705)
+++ trunk/Source/WebCore/css/CSSImportRule.h	2011-11-09 15:00:26 UTC (rev 99706)
@@ -34,7 +34,6 @@
 class MediaList;
 
 class CSSImportRule : public CSSRule {
-    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<CSSImportRule> create(CSSStyleSheet* parent, const String& href, PassRefPtr<MediaList> media)
     {

Modified: trunk/Source/WebCore/css/WebKitCSSShaderValue.h (99705 => 99706)


--- trunk/Source/WebCore/css/WebKitCSSShaderValue.h	2011-11-09 14:58:20 UTC (rev 99705)
+++ trunk/Source/WebCore/css/WebKitCSSShaderValue.h	2011-11-09 15:00:26 UTC (rev 99706)
@@ -37,10 +37,9 @@
 namespace WebCore {
 
 class WebKitCSSShaderValue : public CSSPrimitiveValue {
-    WTF_MAKE_FAST_ALLOCATED;
 public:
     static PassRefPtr<WebKitCSSShaderValue> create(const String& url) { return adoptRef(new WebKitCSSShaderValue(url)); }
-    
+
 private:
     WebKitCSSShaderValue(const String& url)
         : CSSPrimitiveValue(WebKitCSSShaderClass, url, CSS_URI)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to