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

Unified Diff: media/blink/webmediaplayer_cast_android.cc

Issue 2066323002: Remove SK_SUPPORT_LEGACY_TYPEFACE_PTR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Mac fixes Created 4 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
« no previous file with comments | « chrome/browser/ui/extensions/icon_with_badge_image_source.cc ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_cast_android.cc
diff --git a/media/blink/webmediaplayer_cast_android.cc b/media/blink/webmediaplayer_cast_android.cc
index b9957b562d3cf612318973b1f3fe323f55308579..8f073b95f8e450500020acb7876ee7474bedc544 100644
--- a/media/blink/webmediaplayer_cast_android.cc
+++ b/media/blink/webmediaplayer_cast_android.cc
@@ -67,7 +67,8 @@ scoped_refptr<VideoFrame> MakeTextFrameForCast(
paint.setAntiAlias(true);
paint.setFilterQuality(kHigh_SkFilterQuality);
paint.setColor(SK_ColorWHITE);
- paint.setTypeface(SkTypeface::CreateFromName("sans", SkTypeface::kBold));
+ paint.setTypeface(SkTypeface::MakeFromName(
+ "sans", SkFontStyle::FromOldStyle(SkTypeface::kBold)));
paint.setTextSize(kTextSize);
// Calculate the vertical margin from the top
« no previous file with comments | « chrome/browser/ui/extensions/icon_with_badge_image_source.cc ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698