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

Unified Diff: ui/gfx/platform_font_win.cc

Issue 1063603003: Remove obsolete for_web_contents parameter in FontRenderParamsQuery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete for_web_contents parameter in FontRenderParamsQuery. Created 5 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
« no previous file with comments | « ui/gfx/platform_font_mac.mm ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_win.cc
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
index 7d63a71e002bb2ec8543c973d988b69e8670c24c..72964817ac0c95d31b5ecaff3e163df8eeeaf64e 100644
--- a/ui/gfx/platform_font_win.cc
+++ b/ui/gfx/platform_font_win.cc
@@ -322,7 +322,7 @@ int PlatformFontWin::GetFontSize() const {
const FontRenderParams& PlatformFontWin::GetFontRenderParams() {
CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, params,
- (gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(false), NULL)));
+ (gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), NULL)));
return params;
}
@@ -489,7 +489,7 @@ PlatformFontWin::HFontRef* PlatformFontWin::CreateHFontRefFromSkia(
static_cast<SkTypeface::Style>(skia_style)));
gfx::FontRenderParams font_params =
- gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(false), nullptr);
+ gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr);
SkFontHost::SetSubpixelOrder(
gfx::FontRenderParams::SubpixelRenderingToSkiaLCDOrder(
font_params.subpixel_rendering));
« no previous file with comments | « ui/gfx/platform_font_mac.mm ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698