summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc b/chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc
index 108d583bd5d..3af0d63942d 100644
--- a/chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc
+++ b/chromium/third_party/blink/renderer/core/layout/web_font_rendering_win.cc
@@ -19,19 +19,19 @@ void WebFontRendering::AddSideloadedFontForTesting(sk_sp<SkTypeface> typeface) {
}
// static
-void WebFontRendering::SetMenuFontMetrics(const wchar_t* family_name,
+void WebFontRendering::SetMenuFontMetrics(const WebString& family_name,
int32_t font_height) {
FontCache::SetMenuFontMetrics(family_name, font_height);
}
// static
-void WebFontRendering::SetSmallCaptionFontMetrics(const wchar_t* family_name,
+void WebFontRendering::SetSmallCaptionFontMetrics(const WebString& family_name,
int32_t font_height) {
FontCache::SetSmallCaptionFontMetrics(family_name, font_height);
}
// static
-void WebFontRendering::SetStatusFontMetrics(const wchar_t* family_name,
+void WebFontRendering::SetStatusFontMetrics(const WebString& family_name,
int32_t font_height) {
FontCache::SetStatusFontMetrics(family_name, font_height);
}