| Index: Source/web/mac/WebSubstringUtil.mm
|
| diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm
|
| index a1354ff5d3e9ed0ae567c91db16a50b6afb870d3..30d7cf71abbce327b9ef2dac966b3a4bbac87323 100644
|
| --- a/Source/web/mac/WebSubstringUtil.mm
|
| +++ b/Source/web/mac/WebSubstringUtil.mm
|
| @@ -77,7 +77,7 @@ static NSAttributedString* attributedSubstringFromRange(const Range* range)
|
| if (!renderer)
|
| continue;
|
|
|
| - RenderStyle* style = renderer->style();
|
| + const RenderStyle* style = renderer->style();
|
| NSFont* font = style->font().primaryFont()->getNSFont();
|
| // If the platform font can't be loaded, it's likely that the site is
|
| // using a web font. For now, just use the default font instead.
|
|
|