Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 660c5c6cbd10c79d3c56536ab4073b3630fec970..4f4980073a9a17c217ebf9f717b6c741451bcd66 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -983,7 +983,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyInternalMarqueeSpeed(StyleResol |
break; |
} |
} else if (primitiveValue->isTime()) { |
- state.style()->setMarqueeSpeed(primitiveValue->computeTime<int, CSSPrimitiveValue::Milliseconds>()); |
+ state.style()->setMarqueeSpeed(static_cast<int>(primitiveValue->computeSeconds()) * 1000); |
} else if (primitiveValue->isNumber()) { // For scrollamount support. |
state.style()->setMarqueeSpeed(primitiveValue->getIntValue()); |
} |