Remove some dead code from css_valueimpl. It wasn't used at all.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Apr 2005 00:08:30 +0000 (00:08 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Apr 2005 00:08:30 +0000 (00:08 +0000)
        * khtml/css/css_valueimpl.cpp:
        * khtml/css/css_valueimpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9043 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/css/css_valueimpl.cpp
WebCore/khtml/css/css_valueimpl.h

index 19f75bda0543b4867fd041bdbf1f8d85a3d97678..7da7c4501d131f2efd2d7ef6c8ecabfd9c223f0a 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-22  David Hyatt  <hyatt@apple.com>
+
+        Remove some dead code from css_valueimpl.  It wasn't used at all.
+
+        * khtml/css/css_valueimpl.cpp:
+        * khtml/css/css_valueimpl.h:
+
 2005-04-22  Darin Adler  <darin@apple.com>
 
         * khtml/ecma/kjs_html.h: Removed unnecessary bogus class name qualifiers.
index fa25852fb0b0b126dcc9c8e784c9022ebcd89461..8a889229d1ea0c83551974a97d7c89fa09ccfac8 100644 (file)
@@ -1277,36 +1277,6 @@ DOMString ShadowValueImpl::cssText() const
     return text;
 }
 
-// Used for box-flex-transition-group
-FlexGroupTransitionValueImpl::FlexGroupTransitionValueImpl()
-:autoValue(true), group1(0), group2(0), length(0)
-{}
-
-FlexGroupTransitionValueImpl::FlexGroupTransitionValueImpl(unsigned int _group1, 
-                                                           unsigned int _group2,
-                                                           CSSPrimitiveValueImpl* _length)
-:autoValue(false), group1(_group1), group2(_group2), length(_length)
-{}
-
-FlexGroupTransitionValueImpl::~FlexGroupTransitionValueImpl()
-{
-    delete length;
-}
-
-DOMString FlexGroupTransitionValueImpl::cssText() const
-{
-    DOMString text(QString::number(group1));
-    if (group2) {
-        text += "/";
-        text += QString::number(group2);
-    }
-    if (length) {
-        text += " ";
-        text += length->cssText();
-    }
-    return text;
-}
-
 DOMString CSSProperty::cssText() const
 {
     return getPropertyName(m_id) + DOMString(": ") + m_value->cssText() + (m_bImportant ? DOMString(" !important") : DOMString()) + DOMString("; ");
index 976b7191a7890edd4de5b9a2884a49bfa6e4ad7d..5b0966530cabbbfe0e3b921633522a68dc18533a 100644 (file)
@@ -353,28 +353,6 @@ public:
     CSSPrimitiveValueImpl* color;
 };
 
-// Used by box-flex-group-transition
-class FlexGroupTransitionValueImpl : public CSSValueImpl
-{
-public:
-    FlexGroupTransitionValueImpl();
-    FlexGroupTransitionValueImpl(unsigned int _group1, 
-                                 unsigned int _group2,
-                                 CSSPrimitiveValueImpl* _length);
-    virtual ~FlexGroupTransitionValueImpl();
-    
-    virtual unsigned short cssValueType() const { return CSSValue::CSS_CUSTOM; }
-    
-    virtual DOMString cssText() const;
-    
-    bool isAuto() const { return autoValue; }
-
-    bool autoValue;
-    unsigned int group1;
-    unsigned int group2;
-    CSSPrimitiveValueImpl* length;
-};
-
 // ------------------------------------------------------------------------------
 
 // another helper class