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 4013be2fa9bb99b4ac7ff4a18ff3d2c084fbe7f5..c15c57bf3d4ad106e9193b80132142feff642ebe 100644 |
--- a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -478,7 +478,7 @@ namespace WebCore { |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
if (primitiveValue->getValueID() == CSSValueAuto) |
{{set_value(property)}}(nullptr); |
- } else if (value->isImageValue() || value->isImageSetValue()) { |
+ } else if (value->isImageValue() || value->isImageGeneratorValue() || value->isImageSetValue()) { |
{{set_value(property)}}(ShapeValue::createImageValue(state.styleImage({{property_id}}, value))); |
} else if (value->isValueList()) { |
RefPtr<BasicShape> shape; |