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 f9a486acd3f28642731c3fa9e49619bb01132808..c7677e15c5432c89e769e18558594a8f180bbb9f 100644 |
--- a/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -282,9 +282,9 @@ namespace WebCore { |
{%- endif %} |
if (state.applyPropertyToRegularStyle()) |
- {{ set_value(property) }}(state.document()->textLinkColors().colorFromPrimitiveValue(primitiveValue)); |
+ {{ set_value(property) }}(state.document().textLinkColors().colorFromPrimitiveValue(primitiveValue)); |
if (state.applyPropertyToVisitedLinkStyle()) |
- state.style()->{{visited_link_setter}}(state.document()->textLinkColors().colorFromPrimitiveValue(primitiveValue, state.element()->isLink() /* forVisitedLink */)); |
+ state.style()->{{visited_link_setter}}(state.document().textLinkColors().colorFromPrimitiveValue(primitiveValue, state.element()->isLink() /* forVisitedLink */)); |
} |
{%- endmacro %} |