Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index e395a6e006de38097ea3fe041de046c4c75ed810..9ef3724f336dda3fd18271a6a3903dc6de6a35b8 100644 |
--- a/ui/gfx/render_text.cc |
+++ b/ui/gfx/render_text.cc |
@@ -971,6 +971,7 @@ void RenderText::UpdateDisplayText(float text_width) { |
elide_behavior() == FADE_TAIL || |
text_width < display_rect_.width() || |
layout_text_.empty()) { |
+ DLOG(INFO) << "elided being set FALSE!"; |
text_elided_ = false; |
display_text_.clear(); |
return; |
@@ -983,7 +984,9 @@ void RenderText::UpdateDisplayText(float text_width) { |
static_cast<float>(display_rect_.width()), |
elide_behavior_)); |
+ |
text_elided_ = display_text_ != layout_text_; |
+ DLOG(INFO) << "Elided: " << text_elided_ << " w=" << text_width << ", " << display_rect_.width() << " , " << layout_text_ << ", " << display_text_; |
if (!text_elided_) |
display_text_.clear(); |
} |