Clear the line baselines when doing each pass of layout (#6058)

Fixes https://github.com/flutter/flutter/issues/20824
This commit is contained in:
Jason Simmons 2018-08-20 16:42:06 -07:00 committed by GitHub
parent 2ff1626335
commit 5ff43549dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,6 +434,7 @@ void Paragraph::Layout(double width, bool force) {
records_.clear();
line_heights_.clear();
line_baselines_.clear();
glyph_lines_.clear();
code_unit_runs_.clear();