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

Unified Diff: ui/gfx/font_fallback_win.cc

Issue 2927953003: Use CTFontCreateForString for RenderTextHarfbuzz on Mac (Closed)
Patch Set: Keep last resort fallbacks 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: ui/gfx/font_fallback_win.cc
diff --git a/ui/gfx/font_fallback_win.cc b/ui/gfx/font_fallback_win.cc
index 1610e27438350a55b6c43ccd5b604bd4910eb5ca..cf3c4172bf05c74cc21225008a997c1f93bdfa86 100644
--- a/ui/gfx/font_fallback_win.cc
+++ b/ui/gfx/font_fallback_win.cc
@@ -341,7 +341,7 @@ std::vector<Font> GetFallbackFonts(const Font& font) {
}
bool GetFallbackFont(const Font& font,
- const wchar_t* text,
+ const base::char16* text,
int text_length,
Font* result) {
// Creating a DirectWrite font fallback can be expensive. It's ok in the

Powered by Google App Engine
This is Rietveld 408576698