Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() *

Powered by Google App Engine
This is Rietveld 408576698