| Index: ui/gfx/render_text_mac.cc
|
| diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc
|
| index e60ecca6543b5744491641d531c9e7e7cd728954..3d75dcdad0e33cf276333e96cdc3e922ab4fb761 100644
|
| --- a/ui/gfx/render_text_mac.cc
|
| +++ b/ui/gfx/render_text_mac.cc
|
| @@ -229,7 +229,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());
|
|
|