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

Unified Diff: ui/gfx/render_text_linux.cc

Issue 10829261: Don't reset the layout on RenderText display rect width change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/gfx/render_text.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_linux.cc
===================================================================
--- ui/gfx/render_text_linux.cc (revision 150790)
+++ ui/gfx/render_text_linux.cc (working copy)
@@ -283,7 +283,7 @@
SetupPangoLayoutWithFontDescription(layout_,
GetDisplayText(),
font_list().GetFontDescriptionString(),
- display_rect().width(),
+ 0,
msw 2012/08/09 19:54:50 Why not continue to pass in the width here? It's a
Alexei Svitkine (slow) 2012/08/09 20:03:01 See the pango_layout_set_width() call below that j
GetTextDirection(),
Canvas::DefaultCanvasTextAlignment());
« no previous file with comments | « ui/gfx/render_text.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698