Index: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
index e0045ac683361aed2ad301391175dd0480aa1f4e..af5d327ed750bfadeb9c9591b48365fca8665f00 100644 |
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
@@ -86,7 +86,7 @@ static NSAttributedString* attributedSubstringFromRange(const EphemeralRange& ra |
// to use the font. |
// TODO(shuchen): Support scaling the font as necessary according to CSS transforms. |
if (!font || floor(fontPlatformData.size()) != floor([[font fontDescriptor] pointSize])) |
- font = [NSFont systemFontOfSize:style->font().fontDescription().computedSize()]; |
+ font = [NSFont systemFontOfSize:style->font().getFontDescription().computedSize()]; |
[attrs setObject:font forKey:NSFontAttributeName]; |
if (style->visitedDependentColor(CSSPropertyColor).alpha()) |