diff options
-rw-r--r-- | ui/gfx/render_text_unittest.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc index b028e12..5d1b248 100644 --- a/ui/gfx/render_text_unittest.cc +++ b/ui/gfx/render_text_unittest.cc @@ -1674,6 +1674,12 @@ TEST_F(RenderTextTest, Multiline_MinWidth) { // Ensure strings wrap onto multiple lines for a normal available width. TEST_F(RenderTextTest, Multiline_NormalWidth) { + // TODO(ckocagil): Enable this test on XP. +#if defined(OS_WIN) + if (base::win::GetVersion() < base::win::VERSION_VISTA) + return; +#endif + const struct { const wchar_t* const text; const Range first_line_char_range; |