diff --git a/engine/src/flutter/third_party/txt/src/txt/paragraph_txt.h b/engine/src/flutter/third_party/txt/src/txt/paragraph_txt.h index e0cf8a6ddd6..b536b40ef9a 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paragraph_txt.h +++ b/engine/src/flutter/third_party/txt/src/txt/paragraph_txt.h @@ -187,7 +187,7 @@ class ParagraphTxt : public Paragraph { mutable std::unique_ptr word_breaker_; std::vector line_metrics_; - size_t final_line_count_; + size_t final_line_count_ = 0; std::vector line_widths_; // Stores the result of Layout().