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 749ff02902ba938ffc66be867260dabaaf97b81a..78a0245da7aecc7f128add31de82281a9876f239 100644 |
--- a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -480,7 +480,7 @@ namespace WebCore { |
if (value->isPrimitiveValue()) { |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
if (primitiveValue->getValueID() == CSSValueAuto) |
- {{ set_value(property) }}(0); |
+ {{ set_value(property) }}(nullptr); |
else if (primitiveValue->getValueID() == CSSValueMarginBox |
|| primitiveValue->getValueID() == CSSValueBorderBox |
|| primitiveValue->getValueID() == CSSValuePaddingBox |