Chromium Code Reviews| Index: ui/gfx/render_text_mac.cc |
| diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc |
| index 1c046648dc63220fcca566f1ec8c85a106cd3d5e..4cfeb5b13126fedb5739f6e079fe8471a083a608 100644 |
| --- a/ui/gfx/render_text_mac.cc |
| +++ b/ui/gfx/render_text_mac.cc |
| @@ -148,7 +148,7 @@ void RenderTextMac::EnsureLayout() { |
| &kCFTypeDictionaryValueCallBacks)); |
| base::ScopedCFTypeRef<CFStringRef> cf_text( |
| - base::SysUTF16ToCFStringRef(text())); |
| + base::SysUTF16ToCFStringRef(GetDisplayText())); |
|
tapted
2015/03/02 22:36:38
This is one of the things I tried... unfortunately
Jun Mukai
2015/03/02 23:10:37
I don't think RenderTextMac is quite different her
|
| base::ScopedCFTypeRef<CFAttributedStringRef> attr_text( |
| CFAttributedStringCreate(NULL, cf_text, attributes)); |
| base::ScopedCFTypeRef<CFMutableAttributedStringRef> attr_text_mutable( |