Changeset 110807 in webkit


Ignore:
Timestamp:
Mar 14, 2012 7:09:26 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Remove obsolete constructors of CSSPrimitiveValue class.
https://bugs.webkit.org/show_bug.cgi?id=80971

Remove constructors of CSSPrimitiveValue that can't be
reached.

Patch by Kwonjin Jeong <gram@company100.net> on 2012-03-14
Reviewed by Andreas Kling.

  • css/CSSPrimitiveValueMappings.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r110802 r110807  
     12012-03-14  Kwonjin Jeong  <gram@company100.net>
     2
     3        Remove obsolete constructors of CSSPrimitiveValue class.
     4        https://bugs.webkit.org/show_bug.cgi?id=80971
     5
     6        Remove constructors of CSSPrimitiveValue that can't be
     7        reached.
     8
     9        Reviewed by Andreas Kling.
     10
     11        * css/CSSPrimitiveValueMappings.h:
     12
    1132012-03-14  Igor Oliveira  <igor.o@sisa.samsung.com>
    214
  • trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h

    r110488 r110807  
    8787}
    8888
    89 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(int i)
    90     : CSSValue(PrimitiveClass)
    91 {
    92     m_primitiveUnitType = CSS_NUMBER;
    93     m_value.num = static_cast<double>(i);
    94 }
    95 
    9689template<> inline CSSPrimitiveValue::operator int() const
    9790{
     
    10194    ASSERT_NOT_REACHED();
    10295    return 0;
    103 }
    104 
    105 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(unsigned i)
    106     : CSSValue(PrimitiveClass)
    107 {
    108     m_primitiveUnitType = CSS_NUMBER;
    109     m_value.num = static_cast<double>(i);
    11096}
    11197
Note: See TracChangeset for help on using the changeset viewer.