| Index: ui/gfx/render_text_mac.cc
|
| diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc
|
| index 1c6e78da0dfe543920392d696784ed29ffb930a0..6ba0583cab29476ce4188417df134fb58c9494ef 100644
|
| --- a/ui/gfx/render_text_mac.cc
|
| +++ b/ui/gfx/render_text_mac.cc
|
| @@ -255,7 +255,7 @@ base::ScopedCFTypeRef<CFMutableArrayRef> RenderTextMac::ApplyStyles(
|
| CFArrayCreateMutable(NULL, 0, &kCFTypeArrayCallBacks));
|
|
|
| // https://developer.apple.com/library/mac/#documentation/Carbon/Reference/CoreText_StringAttributes_Ref/Reference/reference.html
|
| - internal::StyleIterator style(colors(), baselines(), styles());
|
| + internal::StyleIterator style(font_sizes(), colors(), baselines(), styles());
|
| const size_t layout_text_length = CFAttributedStringGetLength(attr_string);
|
| for (size_t i = 0, end = 0; i < layout_text_length; i = end) {
|
| end = TextIndexToGivenTextIndex(text, style.GetRange().end());
|
|
|