Index: Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
diff --git a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
index e37d2952ef2f82076832d03688b941d4d1049b82..1acfd056a8eeadcbd89b61cd4f13aaa18e994e71 100644 |
--- a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -143,7 +143,7 @@ namespace WebCore { |
state.style()->{{auto_setter}}(); |
else |
{%- if compute_length %} |
- {{ set_value(property) }}(primitiveValue->computeLength<{{property.type_name}}>(state.style(), state.rootElementStyle(), state.style()->effectiveZoom())); |
+ {{ set_value(property) }}(primitiveValue->computeLength<{{property.type_name}}>(state.cssToLengthConversionData())); |
{%- else %} |
{{ set_value(property) }}(*primitiveValue); |
{%- endif %} |