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

Unified Diff: ui/gfx/render_text.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 | « no previous file | ui/gfx/render_text_linux.cc » ('j') | ui/gfx/render_text_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.cc
===================================================================
--- ui/gfx/render_text.cc (revision 150790)
+++ ui/gfx/render_text.cc (working copy)
@@ -445,8 +445,6 @@
}
void RenderText::SetDisplayRect(const Rect& r) {
- if (r.width() != display_rect_.width())
- ResetLayout();
display_rect_ = r;
cached_bounds_and_offset_valid_ = false;
}
« no previous file with comments | « no previous file | ui/gfx/render_text_linux.cc » ('j') | ui/gfx/render_text_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698