diff options
Diffstat (limited to 'third_party/WebKit/Source/build/scripts')
| -rw-r--r-- | third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl index 6097cfc..61d5c25 100644 --- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl +++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl @@ -461,27 +461,15 @@ static bool borderImageLengthMatchesAllSides(const BorderImageLengthBox& borderI {{declare_value_function(property_id)}} { Vector<GridTrackSize> trackSizes; - Vector<GridTrackSize> autoRepeatTrackSizes; - size_t autoRepeatInsertionPoint; NamedGridLinesMap namedGridLines; OrderedNamedGridLines orderedNamedGridLines; - NamedGridLinesMap autoRepeatNamedGridLines; - OrderedNamedGridLines autoRepeatOrderedNamedGridLines; - AutoRepeatType autoRepeatType; - StyleBuilderConverter::convertGridTrackList(*value, trackSizes, namedGridLines, orderedNamedGridLines, autoRepeatTrackSizes, autoRepeatNamedGridLines, autoRepeatOrderedNamedGridLines, autoRepeatInsertionPoint, autoRepeatType, state); + StyleBuilderConverter::convertGridTrackList(*value, trackSizes, namedGridLines, orderedNamedGridLines, state); const NamedGridAreaMap& namedGridAreas = state.style()->namedGridArea(); if (!namedGridAreas.isEmpty()) StyleBuilderConverter::createImplicitNamedGridLinesFromGridArea(namedGridAreas, namedGridLines, For{{type}}s); state.style()->setGridTemplate{{type}}s(trackSizes); state.style()->setNamedGrid{{type}}Lines(namedGridLines); state.style()->setOrderedNamedGrid{{type}}Lines(orderedNamedGridLines); - if (autoRepeatTrackSizes.size()) { - state.style()->setGridAutoRepeat{{type}}s(autoRepeatTrackSizes); - state.style()->setGridAutoRepeat{{type}}sInsertionPoint(autoRepeatInsertionPoint); - state.style()->setAutoRepeatNamedGrid{{type}}Lines(autoRepeatNamedGridLines); - state.style()->setAutoRepeatOrderedNamedGrid{{type}}Lines(autoRepeatOrderedNamedGridLines); - state.style()->setGridAutoRepeatType(autoRepeatType); - } } {% endmacro %} {{apply_grid_template('CSSPropertyGridTemplateColumns', 'Column')}} |
