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

Unified Diff: components/font_service/public/cpp/font_loader.cc

Issue 1877673002: Move legacyCreateTypeface to SkFontStyle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DEPS change now that Skia change has landed. Created 4 years, 8 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: components/font_service/public/cpp/font_loader.cc
diff --git a/components/font_service/public/cpp/font_loader.cc b/components/font_service/public/cpp/font_loader.cc
index 03df30fc1e714cc80dced6cf791b526f3fa162c8..883ca489c7eb5cc3d5cbe02334db4865a32fb05d 100644
--- a/components/font_service/public/cpp/font_loader.cc
+++ b/components/font_service/public/cpp/font_loader.cc
@@ -27,10 +27,10 @@ void FontLoader::Shutdown() {
}
bool FontLoader::matchFamilyName(const char family_name[],
- SkTypeface::Style requested,
+ SkFontStyle requested,
FontIdentity* out_font_identifier,
SkString* out_family_name,
- SkTypeface::Style* out_style) {
+ SkFontStyle* out_style) {
TRACE_EVENT1("font_service", "FontServiceThread::MatchFamilyName",
"family_name", family_name);
return thread_->MatchFamilyName(family_name, requested, out_font_identifier,
« no previous file with comments | « components/font_service/public/cpp/font_loader.h ('k') | components/font_service/public/cpp/font_service_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698