Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index caade9bd6eba3ad131377cd578c39b6f4baa3d87..16bd6b65b61ebd953eb5a679da0093000de55f9f 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -965,7 +965,7 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::valueForFilter(const RenderObj |
return list.release(); |
} |
-static PassRefPtr<CSSValue> valueForGridTrackBreadth(const GridLength& trackBreadth, const RenderStyle& style, RenderView* renderView) |
+static PassRefPtr<CSSValue> specifiedValueForGridTrackBreadth(const GridLength& trackBreadth, const RenderStyle& style, RenderView* renderView) |
{ |
if (!trackBreadth.isLength()) |
return cssValuePool().createValue(trackBreadth.flex(), CSSPrimitiveValue::CSS_FR); |
@@ -982,11 +982,11 @@ static PassRefPtr<CSSValue> specifiedValueForGridTrackSize(const GridTrackSize& |
{ |
switch (trackSize.type()) { |
case LengthTrackSizing: |
- return valueForGridTrackBreadth(trackSize.length(), style, renderView); |
+ return specifiedValueForGridTrackBreadth(trackSize.length(), style, renderView); |
case MinMaxTrackSizing: |
RefPtr<CSSValueList> minMaxTrackBreadths = CSSValueList::createCommaSeparated(); |
- minMaxTrackBreadths->append(valueForGridTrackBreadth(trackSize.minTrackBreadth(), style, renderView)); |
- minMaxTrackBreadths->append(valueForGridTrackBreadth(trackSize.maxTrackBreadth(), style, renderView)); |
+ minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.minTrackBreadth(), style, renderView)); |
+ minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.maxTrackBreadth(), style, renderView)); |
return CSSFunctionValue::create("minmax(", minMaxTrackBreadths); |
} |
ASSERT_NOT_REACHED(); |