diff options
author | stapelberg <stapelberg@google.com> | 2015-04-06 11:31:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-06 18:36:21 +0000 |
commit | 575097ce8654423b32a15a6cd630398beb0734d3 (patch) | |
tree | de635675c0f46b31cded55f72858513f01fd589d /ui/gfx/platform_font_win.cc | |
parent | 8a72921779123fbd7a7f756f9683f4df8944ea9d (diff) | |
download | chromium_src-575097ce8654423b32a15a6cd630398beb0734d3.zip chromium_src-575097ce8654423b32a15a6cd630398beb0734d3.tar.gz chromium_src-575097ce8654423b32a15a6cd630398beb0734d3.tar.bz2 |
Remove obsolete for_web_contents parameter in FontRenderParamsQuery.
BUG=143619
Review URL: https://codereview.chromium.org/1063603003
Cr-Commit-Position: refs/heads/master@{#323920}
Diffstat (limited to 'ui/gfx/platform_font_win.cc')
-rw-r--r-- | ui/gfx/platform_font_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc index 7d63a71..7296481 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)); |