Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: ui/gfx/render_text_unittest.cc

Issue 1003273004: [RenderText] Added chrome os exclusion from doesntClip test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_unittest.cc
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc
index fa544f3e1bbf8b4785b9545a59c41f236dbd9b1e..42825579ec6cb0b68fe701de431a2c1444d5c1f7 100644
--- a/ui/gfx/render_text_unittest.cc
+++ b/ui/gfx/render_text_unittest.cc
@@ -2726,10 +2726,10 @@ TEST_F(RenderTextTest, TextDoesntClip) {
// as if it is ignoring the SetDisplayRect shift by kTestSize. This
// appears to be a preexisting issue that wasn't revealed by the prior
// unit tests.
-#elif defined(OS_MACOSX)
- // TODO(dschuyler): On Windows (non-XP) and Mac smoothing draws left of
- // text. This appears to be a preexisting issue that wasn't revealed by
- // the prior unit tests.
+#elif defined(OS_MACOSX) || defined(OS_CHROMEOS)
+ // TODO(dschuyler): On Windows (non-XP), Chrome OS and Mac smoothing draws
+ // left of text. This appears to be a preexisting issue that wasn't
+ // revealed by the prior unit tests.
rect_buffer.EnsureSolidRect(SK_ColorWHITE, 0, kTestSize, kTestSize - 1,
string_size.height());
#else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698