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

Unified Diff: ui/gfx/canvas_skia.cc

Issue 10808109: Remove Linux-specific mapping from NO_ELLIPSIS to MULTI_LINE in canvas_skia.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/canvas_skia.cc
===================================================================
--- ui/gfx/canvas_skia.cc (revision 148153)
+++ ui/gfx/canvas_skia.cc (working copy)
@@ -179,11 +179,6 @@
// Returns updated |flags| to match platform-specific expected behavior.
int AdjustPlatformSpecificFlags(const string16& text, int flags) {
#if defined(OS_LINUX)
- // TODO(asvitkine): On Linux, NO_ELLIPSIS really means MULTI_LINE.
- // http://crbug.com/107357
- if (flags & gfx::Canvas::NO_ELLIPSIS)
- flags |= gfx::Canvas::MULTI_LINE;
-
// TODO(asvitkine): ash/tooltips/tooltip_controller.cc adds \n's to the string
// without passing MULTI_LINE.
if (text.find('\n') != string16::npos)
« 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