| Index: Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| diff --git a/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| index b146cbfd8a0055cf082c33e5739376aadb370682..ca7dedcc4e93daa2ac92f634a327526200aa3ade 100644
|
| --- a/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| +++ b/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| @@ -54,7 +54,7 @@ namespace WebCore {
|
| return;
|
|
|
| CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| - if (primitiveValue->getIdent() == {{id_for_minus_one}})
|
| + if (primitiveValue->getValueID() == {{id_for_minus_one}})
|
| {{ set_value(property) }}(-1);
|
| else
|
| {{ set_value(property) }}(primitiveValue->getValue<{{property.type_name}}>(CSSPrimitiveValue::CSS_NUMBER));
|
| @@ -72,8 +72,8 @@ namespace WebCore {
|
| return;
|
|
|
| CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| - if (primitiveValue->getIdent()) {
|
| - switch (primitiveValue->getIdent()) {
|
| + if (primitiveValue->getValueID()) {
|
| + switch (primitiveValue->getValueID()) {
|
| case CSSValueSmall:
|
| styleResolver->style()->setMarqueeIncrement(Length(1, Fixed)); // 1px.
|
| break;
|
| @@ -83,6 +83,8 @@ namespace WebCore {
|
| case CSSValueLarge:
|
| styleResolver->style()->setMarqueeIncrement(Length(36, Fixed)); // 36px.
|
| break;
|
| + default:
|
| + break;
|
| }
|
| } else {
|
| Length marqueeLength = styleResolver->convertToIntLength(primitiveValue, styleResolver->style(), styleResolver->rootElementStyle());
|
|
|