| 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..0fee832b2496b1e55f289ef6d0bf424837a64d35 100644
|
| --- a/ui/gfx/render_text_mac.cc
|
| +++ b/ui/gfx/render_text_mac.cc
|
| @@ -230,7 +230,7 @@ void RenderTextMac::ApplyStyles(CFMutableAttributedStringRef attr_string,
|
| attributes_.reset(CFArrayCreateMutable(NULL, 0, &kCFTypeArrayCallBacks));
|
|
|
| // https://developer.apple.com/library/mac/#documentation/Carbon/Reference/CoreText_StringAttributes_Ref/Reference/reference.html
|
| - internal::StyleIterator style(colors(), styles());
|
| + internal::StyleIterator style(colors(), baselines(), styles());
|
| const size_t layout_text_length = GetDisplayText().length();
|
| for (size_t i = 0, end = 0; i < layout_text_length; i = end) {
|
| end = TextIndexToDisplayIndex(style.GetRange().end());
|
|
|