diff --git a/third_party/txt/src/txt/paragraph.h b/third_party/txt/src/txt/paragraph.h index 0c31243e79e77..749fd988cb248 100644 --- a/third_party/txt/src/txt/paragraph.h +++ b/third_party/txt/src/txt/paragraph.h @@ -206,7 +206,7 @@ class Paragraph { FRIEND_TEST(ParagraphTest, RepeatLayoutParagraph); FRIEND_TEST(ParagraphTest, Ellipsize); FRIEND_TEST(ParagraphTest, UnderlineShiftParagraph); - FRIEND_TEST(ParagraphTest, LineHeightsParagraph); + FRIEND_TEST_WINDOWS_DISABLED(ParagraphTest, LineHeightsParagraph); // Starting data to layout. std::vector text_; diff --git a/third_party/txt/src/txt/styled_runs.h b/third_party/txt/src/txt/styled_runs.h index f1ef7dc73e45a..40c75c73c7c43 100644 --- a/third_party/txt/src/txt/styled_runs.h +++ b/third_party/txt/src/txt/styled_runs.h @@ -79,7 +79,7 @@ class StyledRuns { FRIEND_TEST(ParagraphTest, HyphenBreakParagraph); FRIEND_TEST(ParagraphTest, RepeatLayoutParagraph); FRIEND_TEST(ParagraphTest, Ellipsize); - FRIEND_TEST(ParagraphTest, LineHeightsParagraph); + FRIEND_TEST_WINDOWS_DISABLED(ParagraphTest, LineHeightsParagraph); struct IndexedRun { size_t style_index = 0;