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

Unified Diff: ui/gfx/font_render_params_win.cc

Issue 645073004: Remove FontRenderParams NOTIMPLEMENTED()s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
« ui/gfx/font_render_params_mac.cc ('K') | « ui/gfx/font_render_params_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_render_params_win.cc
diff --git a/ui/gfx/font_render_params_win.cc b/ui/gfx/font_render_params_win.cc
index 372435d83f4e676685ab979edaad2185e4c18a36..70b19d2c292c1e6057b474121b44a51e989aa051 100644
--- a/ui/gfx/font_render_params_win.cc
+++ b/ui/gfx/font_render_params_win.cc
@@ -75,9 +75,9 @@ class CachedFontRenderParams : public gfx::SingletonHwnd::Observer {
FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query,
std::string* family_out) {
- // Customized font rendering settings are not supported, only defaults.
- if (!query.is_empty() || family_out)
+ if (family_out)
NOTIMPLEMENTED();
+ // Customized font rendering settings are not supported, only defaults.
return CachedFontRenderParams::GetInstance()->GetParams(
query.for_web_contents);
}
« ui/gfx/font_render_params_mac.cc ('K') | « ui/gfx/font_render_params_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698