mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Bug 1519958 - Improve stack size of grid templates and re-enable style struct size assertions disabled in the previous patch. r=boris
This re-enables the assertion which was disabled on the previous patch by doing a bit of boxing around. Differential Revision: https://phabricator.services.mozilla.com/D36599
This commit is contained in:
parent
3e39998068
commit
708ce04896
3 changed files with 10 additions and 6 deletions
|
@ -353,8 +353,11 @@
|
|||
GenericGridTemplateComponent::None
|
||||
};
|
||||
|
||||
Ok((GenericGridTemplateComponent::TrackList(template_rows),
|
||||
template_cols, GridTemplateAreas::Areas(TemplateAreasArc(Arc::new(template_areas)))))
|
||||
Ok((
|
||||
GenericGridTemplateComponent::TrackList(Box::new(template_rows)),
|
||||
template_cols,
|
||||
GridTemplateAreas::Areas(TemplateAreasArc(Arc::new(template_areas)))
|
||||
))
|
||||
} else {
|
||||
let mut template_rows = GridTemplateComponent::parse(context, input)?;
|
||||
if let GenericGridTemplateComponent::TrackList(ref mut list) = template_rows {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue