| Index: ui/gfx/harfbuzz_font_skia.cc
|
| diff --git a/ui/gfx/harfbuzz_font_skia.cc b/ui/gfx/harfbuzz_font_skia.cc
|
| index 2eaa0b0f0aeaca287cd45a2014eb1f792177f735..4c15a91d2efe118c3a56e7eed6a8ca9cd766bf01 100644
|
| --- a/ui/gfx/harfbuzz_font_skia.cc
|
| +++ b/ui/gfx/harfbuzz_font_skia.cc
|
| @@ -258,7 +258,7 @@ class HarfBuzzFace {
|
| hb_font_t* CreateHarfBuzzFont(SkTypeface* skia_face,
|
| SkScalar text_size,
|
| const FontRenderParams& params,
|
| - bool background_is_transparent) {
|
| + bool subpixel_rendering_enabled) {
|
| // TODO(ckocagil): This shouldn't grow indefinitely. Maybe use base::MRUCache?
|
| static std::map<SkFontID, FaceCache> face_caches;
|
|
|
| @@ -273,7 +273,7 @@ hb_font_t* CreateHarfBuzzFont(SkTypeface* skia_face,
|
| hb_font_data->paint_.setTypeface(skia_face);
|
| hb_font_data->paint_.setTextSize(text_size);
|
| // TODO(ckocagil): Do we need to update these params later?
|
| - internal::ApplyRenderParams(params, background_is_transparent,
|
| + internal::ApplyRenderParams(params, subpixel_rendering_enabled,
|
| &hb_font_data->paint_);
|
| hb_font_set_funcs(harfbuzz_font, g_font_funcs.Get().get(), hb_font_data,
|
| DeleteByType<FontData>);
|
|
|