diff --git a/impeller/entity/contents/text_contents.h b/impeller/entity/contents/text_contents.h index b36cc83604931..8349842cf8fd6 100644 --- a/impeller/entity/contents/text_contents.h +++ b/impeller/entity/contents/text_contents.h @@ -56,7 +56,7 @@ class TextContents final : public Contents { private: TextFrame frame_; Color color_; - Scalar inherited_opacity_; + Scalar inherited_opacity_ = 1.0; mutable std::shared_ptr lazy_atlas_; Matrix inverse_matrix_;