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 7568d7ec24d08fc99f57b052fe366560132109fb..c8eb5fb81eb4456583b6c3a3d7f374630f5d654c 100644 |
--- a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -305,9 +305,9 @@ static bool lengthTypeAndValueMatch(const BorderImageLengthBox& borderImageLengt |
{{declare_value_function(property_id)}} |
{ |
if (state.applyPropertyToRegularStyle()) |
- {{set_value(property)}}(StyleBuilderConverter::convertColor(state, value)); |
+ {{set_value(property)}}(StyleBuilderConverter::convertStyleColor(state, value)); |
if (state.applyPropertyToVisitedLinkStyle()) |
- state.style()->{{visited_link_setter}}(StyleBuilderConverter::convertColor(state, value, true)); |
+ state.style()->{{visited_link_setter}}(StyleBuilderConverter::convertStyleColor(state, value, true)); |
} |
{% endmacro %} |
{{apply_color('CSSPropertyBackgroundColor', initial_color='RenderStyle::initialBackgroundColor') }} |