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

Unified Diff: ui/gfx/render_text.cc

Issue 968923004: Use GetDisplayText() instead of text() for rendering text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 10 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_mac.h » ('j') | ui/gfx/render_text_mac.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.cc
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
index c4f841dfcf7898f4b590f31839f865e8afbdac74..90dcb581757ef1f1d67ef375dc6a40f2af558ead 100644
--- a/ui/gfx/render_text.cc
+++ b/ui/gfx/render_text.cc
@@ -1208,6 +1208,7 @@ void RenderText::MoveCursorTo(size_t position, bool select) {
void RenderText::OnTextAttributeChanged() {
layout_text_.clear();
display_text_.clear();
+ text_elided_ = false;
line_breaks_.SetMax(0);
if (obscured_) {
« no previous file with comments | « no previous file | ui/gfx/render_text_mac.h » ('j') | ui/gfx/render_text_mac.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698