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 1c5cfeca7fe39ce801b85599934d93f31d09c402..e8920112db0bf7202e06536d0fe07b7917daab20 100644 |
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
@@ -101,9 +101,8 @@ static NSAttributedString* attributedSubstringFromRange( |
// to use the font. |
// TODO(shuchen): Support scaling the font as necessary according to CSS |
// transforms, not just pinch-zoom. |
- if (!font || |
- floor(fontPlatformData.size()) != |
- floor([[font fontDescriptor] pointSize])) { |
+ if (!font || floor(fontPlatformData.size()) != |
+ floor([[font fontDescriptor] pointSize])) { |
font = [NSFont systemFontOfSize:style->GetFont() |
.GetFontDescription() |
.ComputedSize() * |