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

Unified Diff: third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.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/platform/fonts/mac/FontPlatformDataMac.mm
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
index bfb414788999fe64af86d593c0718ad589195b1f..2c7346a4d6a2827c8fcf93003c32e6125e77856e 100644
--- a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
@@ -107,7 +107,7 @@ void FontPlatformData::setupPaint(SkPaint* paint, float, const Font* font) const
bool shouldAntialias = true;
if (font) {
- switch (font->fontDescription().fontSmoothing()) {
+ switch (font->getFontDescription().fontSmoothing()) {
case Antialiased:
shouldSmoothFonts = false;
break;
@@ -141,7 +141,7 @@ void FontPlatformData::setupPaint(SkPaint* paint, float, const Font* font) const
// When rendering using CoreGraphics, disable hinting when webkit-font-smoothing:antialiased or
// text-rendering:geometricPrecision is used.
// See crbug.com/152304
- if (font && (font->fontDescription().fontSmoothing() == Antialiased || font->fontDescription().textRendering() == GeometricPrecision))
+ if (font && (font->getFontDescription().fontSmoothing() == Antialiased || font->getFontDescription().textRendering() == GeometricPrecision))
paint->setHinting(SkPaint::kNo_Hinting);
}

Powered by Google App Engine
This is Rietveld 408576698