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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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 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())

Powered by Google App Engine
This is Rietveld 408576698