Clear the line baselines when doing each pass of layout (flutter/engine#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 eb77c3044d
commit c7a2e969b1

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();