| Index: Source/core/css/CSSPrimitiveValue.cpp
|
| diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
|
| index 0c45b990b60dd4684da3b87ecee63e6303b45709..3e6391ccf09162ce82337d19da2c9fcebc353d7f 100644
|
| --- a/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -705,7 +705,7 @@ double CSSPrimitiveValue::getDoubleValue() const
|
|
|
| CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::canonicalUnitTypeForCategory(UnitCategory category)
|
| {
|
| - // The canonical unit type is chosen according to the way CSSParser::validUnit() chooses the default unit
|
| + // The canonical unit type is chosen according to the way BisonCSSParser::validUnit() chooses the default unit
|
| // in each category (based on unitflags).
|
| switch (category) {
|
| case UNumber:
|
| @@ -759,7 +759,7 @@ bool CSSPrimitiveValue::getDoubleValueInternal(UnitTypes requestedUnitType, doub
|
| }
|
|
|
| if (sourceUnitType == CSS_NUMBER) {
|
| - // We interpret conversion from CSS_NUMBER in the same way as CSSParser::validUnit() while using non-strict mode.
|
| + // We interpret conversion from CSS_NUMBER in the same way as BisonCSSParser::validUnit() while using non-strict mode.
|
| sourceUnitType = canonicalUnitTypeForCategory(targetCategory);
|
| if (sourceUnitType == CSS_UNKNOWN)
|
| return false;
|
|
|