| Index: ui/gfx/render_text_mac.cc
|
| diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc
|
| index 5b7e2faeef3185316398b3ad3562204a338e8c69..b140af873b11f27e2300920a6198fe8e144f4e56 100644
|
| --- a/ui/gfx/render_text_mac.cc
|
| +++ b/ui/gfx/render_text_mac.cc
|
| @@ -15,6 +15,8 @@
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "skia/ext/skia_utils_mac.h"
|
|
|
| +#include "base/debug/stack_trace.h"
|
| +
|
| namespace gfx {
|
|
|
| RenderTextMac::RenderTextMac()
|
| @@ -33,6 +35,7 @@ bool RenderTextMac::MultilineSupported() const {
|
| }
|
|
|
| const base::string16& RenderTextMac::GetDisplayText() {
|
| +
|
| return text_elided() ? display_text() : layout_text();
|
| }
|
|
|
| @@ -112,6 +115,7 @@ bool RenderTextMac::IsValidCursorIndex(size_t index) {
|
| }
|
|
|
| void RenderTextMac::OnLayoutTextAttributeChanged(bool text_changed) {
|
| + DLOG(INFO) << "OnLayoutTextAttributeChanged: " << GetDisplayText();
|
| //DCHECK(!multiline()) << "RenderTextMac does not support multi line";
|
| if (text_changed) {
|
| if (elide_behavior() != NO_ELIDE &&
|
|
|