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

Unified Diff: ui/gfx/platform_font_mac.mm

Issue 1063603003: Remove obsolete for_web_contents parameter in FontRenderParamsQuery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/gfx/platform_font_mac.mm
diff --git a/ui/gfx/platform_font_mac.mm b/ui/gfx/platform_font_mac.mm
index 8874553a659d3f4ba35cdb72e72842b89b18330a..1dad523ffba00ce4f63113c0780070b8fc8a11ea 100644
--- a/ui/gfx/platform_font_mac.mm
+++ b/ui/gfx/platform_font_mac.mm
@@ -170,7 +170,7 @@ void PlatformFontMac::CalculateMetricsAndInitRenderParams() {
average_width_ =
NSWidth([font boundingRectForGlyph:[font glyphWithName:@"x"]]);
- FontRenderParamsQuery query(false);
+ FontRenderParamsQuery query();
Daniel Erat 2015/04/06 12:23:29 nit: remove parentheses
stapelberg 2015/04/06 13:14:48 Done.
query.families.push_back(font_name_);
query.pixel_size = font_size_;
query.style = font_style_;

Powered by Google App Engine
This is Rietveld 408576698