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

Log Message

CSS: Remove empty value and rule destructors.
<http://webkit.org/b/71901>

Reviewed by Antti Koivisto.

* css/CSSAspectRatioValue.h:
* css/CSSBorderImageSliceValue.h:
(WebCore::CSSBorderImageSliceValue::create):
* css/CSSBorderImageValue.h:
(WebCore::CSSBorderImageValue::create):
* css/CSSCharsetRule.cpp:
* css/CSSCharsetRule.h:
* css/CSSCrossfadeValue.h:
* css/CSSFlexValue.h:
* css/CSSFontFaceSrcValue.h:
* css/CSSFunctionValue.h:
* css/CSSPageRule.cpp:
* css/CSSPageRule.h:
* css/CSSUnicodeRangeValue.h:
* css/CSSValueList.h:
* css/WebKitCSSFilterValue.h:
* css/WebKitCSSTransformValue.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (99707 => 99708)


--- trunk/Source/WebCore/ChangeLog	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/ChangeLog	2011-11-09 15:03:40 UTC (rev 99708)
@@ -1,5 +1,30 @@
 2011-11-09  Andreas Kling  <[email protected]>
 
+        CSS: Remove empty value and rule destructors.
+        <http://webkit.org/b/71901>
+
+        Reviewed by Antti Koivisto.
+
+        * css/CSSAspectRatioValue.h:
+        * css/CSSBorderImageSliceValue.h:
+        (WebCore::CSSBorderImageSliceValue::create):
+        * css/CSSBorderImageValue.h:
+        (WebCore::CSSBorderImageValue::create):
+        * css/CSSCharsetRule.cpp:
+        * css/CSSCharsetRule.h:
+        * css/CSSCrossfadeValue.h:
+        * css/CSSFlexValue.h:
+        * css/CSSFontFaceSrcValue.h:
+        * css/CSSFunctionValue.h:
+        * css/CSSPageRule.cpp:
+        * css/CSSPageRule.h:
+        * css/CSSUnicodeRangeValue.h:
+        * css/CSSValueList.h:
+        * css/WebKitCSSFilterValue.h:
+        * css/WebKitCSSTransformValue.h:
+
+2011-11-09  Andreas Kling  <[email protected]>
+
         CSS: Remove redudant WTF_MAKE_FAST_ALLOCATED macros.
         <http://webkit.org/b/71897>
 

Modified: trunk/Source/WebCore/css/CSSAspectRatioValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSAspectRatioValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSAspectRatioValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -41,8 +41,6 @@
         return adoptRef(new CSSAspectRatioValue(numeratorValue, denominatorValue));
     }
 
-    ~CSSAspectRatioValue() { }
-
     String customCssText() const;
 
     float numeratorValue() const { return m_numeratorValue; }

Modified: trunk/Source/WebCore/css/CSSBorderImageSliceValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSBorderImageSliceValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSBorderImageSliceValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -40,7 +40,6 @@
     {
         return adoptRef(new CSSBorderImageSliceValue(slices, fill));
     }
-    ~CSSBorderImageSliceValue() { }
 
     String customCssText() const;
 

Modified: trunk/Source/WebCore/css/CSSBorderImageValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSBorderImageValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSBorderImageValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -36,7 +36,6 @@
     {
         return adoptRef(new CSSBorderImageValue(image, imageSlice, borderSlice, outset, repeat));
     }
-    ~CSSBorderImageValue() { }
 
     String customCssText() const;
 

Modified: trunk/Source/WebCore/css/CSSCharsetRule.cpp (99707 => 99708)


--- trunk/Source/WebCore/css/CSSCharsetRule.cpp	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSCharsetRule.cpp	2011-11-09 15:03:40 UTC (rev 99708)
@@ -29,10 +29,6 @@
 {
 }
 
-CSSCharsetRule::~CSSCharsetRule()
-{
-}
-
 String CSSCharsetRule::cssText() const
 {
     return "@charset \"" + m_encoding + "\";";

Modified: trunk/Source/WebCore/css/CSSCharsetRule.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSCharsetRule.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSCharsetRule.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -34,8 +34,6 @@
         return adoptRef(new CSSCharsetRule(parent, encoding));
     }
 
-    ~CSSCharsetRule();
-
     const String& encoding() const { return m_encoding; }
     void setEncoding(const String& encoding, ExceptionCode&) { m_encoding = encoding; }
 

Modified: trunk/Source/WebCore/css/CSSCrossfadeValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSCrossfadeValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSCrossfadeValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -38,7 +38,6 @@
 class CSSCrossfadeValue : public CSSImageGeneratorValue {
 public:
     static PassRefPtr<CSSCrossfadeValue> create(PassRefPtr<CSSImageValue> fromImage, PassRefPtr<CSSImageValue> toImage) { return adoptRef(new CSSCrossfadeValue(fromImage, toImage)); }
-    ~CSSCrossfadeValue() { }
 
     String customCssText() const;
 

Modified: trunk/Source/WebCore/css/CSSFlexValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSFlexValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSFlexValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -43,8 +43,6 @@
         return adoptRef(new CSSFlexValue(positiveFlex, negativeFlex, preferredSize));
     }
 
-    ~CSSFlexValue() { }
-
     String customCssText() const;
 
     float positiveFlex() { return m_positiveFlex; }

Modified: trunk/Source/WebCore/css/CSSFontFaceSrcValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSFontFaceSrcValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSFontFaceSrcValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -45,8 +45,6 @@
         return adoptRef(new CSSFontFaceSrcValue(resource, true));
     }
 
-    ~CSSFontFaceSrcValue() { }
-
     const String& resource() const { return m_resource; }
     const String& format() const { return m_format; }
     bool isLocal() const { return m_isLocal; }

Modified: trunk/Source/WebCore/css/CSSFunctionValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSFunctionValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSFunctionValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -40,8 +40,6 @@
         return adoptRef(new CSSFunctionValue(function));
     }
 
-    ~CSSFunctionValue() { }
-
     String customCssText() const;
 
 private:

Modified: trunk/Source/WebCore/css/CSSPageRule.cpp (99707 => 99708)


--- trunk/Source/WebCore/css/CSSPageRule.cpp	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSPageRule.cpp	2011-11-09 15:03:40 UTC (rev 99708)
@@ -32,10 +32,6 @@
 {
 }
 
-CSSPageRule::~CSSPageRule()
-{
-}
-
 String CSSPageRule::pageSelectorText() const
 {
     String text = "@page";

Modified: trunk/Source/WebCore/css/CSSPageRule.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSPageRule.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSPageRule.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -39,8 +39,6 @@
         return adoptRef(new CSSPageRule(parent, sourceLine));
     }
 
-    ~CSSPageRule();
-
     String pageSelectorText() const;
 
 private:

Modified: trunk/Source/WebCore/css/CSSUnicodeRangeValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSUnicodeRangeValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSUnicodeRangeValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -39,8 +39,6 @@
         return adoptRef(new CSSUnicodeRangeValue(from, to));
     }
 
-    ~CSSUnicodeRangeValue() { }
-
     UChar32 from() const { return m_from; }
     UChar32 to() const { return m_to; }
 

Modified: trunk/Source/WebCore/css/CSSValueList.h (99707 => 99708)


--- trunk/Source/WebCore/css/CSSValueList.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/CSSValueList.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -44,8 +44,6 @@
         return adoptRef(new CSSValueList(list));
     }
 
-    ~CSSValueList() { }
-
     size_t length() const { return m_values.size(); }
     CSSValue* item(size_t index) { return index < m_values.size() ? m_values[index].get() : 0; }
     CSSValue* itemWithoutBoundsCheck(size_t index) { return m_values[index].get(); }

Modified: trunk/Source/WebCore/css/WebKitCSSFilterValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/WebKitCSSFilterValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/WebKitCSSFilterValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -62,8 +62,6 @@
         return adoptRef(new WebKitCSSFilterValue(type));
     }
 
-    ~WebKitCSSFilterValue() { }
-
     String customCssText() const;
 
     FilterOperationType operationType() const { return m_type; }

Modified: trunk/Source/WebCore/css/WebKitCSSTransformValue.h (99707 => 99708)


--- trunk/Source/WebCore/css/WebKitCSSTransformValue.h	2011-11-09 15:02:41 UTC (rev 99707)
+++ trunk/Source/WebCore/css/WebKitCSSTransformValue.h	2011-11-09 15:03:40 UTC (rev 99708)
@@ -65,8 +65,6 @@
         return adoptRef(new WebKitCSSTransformValue(type));
     }
 
-    ~WebKitCSSTransformValue() { }
-
     String customCssText() const;
 
     TransformOperationType operationType() const { return m_type; }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to