diff --git a/third_party/txt/src/txt/paragraph.cc b/third_party/txt/src/txt/paragraph.cc index f0b733df588f3..5a4f7a80c87d9 100644 --- a/third_party/txt/src/txt/paragraph.cc +++ b/third_party/txt/src/txt/paragraph.cc @@ -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();