Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index c893dd4ad2f61b6dfc26f1e9b8f6668e30b7dce2..1f7fc11cc9bf7821b59e7e7851b5a814242e5488 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -946,7 +946,7 @@ static bool createGridTrackBreadth(CSSPrimitiveValue* primitiveValue, const Styl |
if (primitiveValue->isFlex()) { |
// Fractional unit. |
- workingLength.setFlex(primitiveValue->getFloatValue()); |
+ workingLength.setFlex(primitiveValue->getDoubleValue()); |
return true; |
} |