Index: ui/gfx/render_text_mac.cc |
diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc |
index 203bd356a311ba60a3d6eb8f60c1ae4768025b99..42b0a1f55876d774bfff4c19e550539b704d9e5a 100644 |
--- a/ui/gfx/render_text_mac.cc |
+++ b/ui/gfx/render_text_mac.cc |
@@ -117,6 +117,7 @@ void RenderTextMac::OnLayoutTextAttributeChanged(bool text_changed) { |
if (elide_behavior() != NO_ELIDE && |
elide_behavior() != FADE_TAIL && |
!layout_text().empty()) { |
+ DLOG(INFO) << "UPDATE DISP: " << GetContentWidth(); |
UpdateDisplayText(GetContentWidth()); |
} else { |
UpdateDisplayText(0); |
@@ -135,6 +136,8 @@ void RenderTextMac::OnDisplayTextAttributeChanged() { |
void RenderTextMac::EnsureLayout() { |
if (line_.get()) |
return; |
+ |
+ DLOG(INFO) << "EnsureLayout based on: " << GetDisplayText() << " elided=" << text_elided(); |
runs_.clear(); |
runs_valid_ = false; |