Chromium Code Reviews| Index: ui/gfx/font_render_params.h |
| diff --git a/ui/gfx/font_render_params.h b/ui/gfx/font_render_params.h |
| index fb28700e1eef4e3b5d3966715a4ef6f82fba39ee..d7710258dd0bbb7fc3d400c61a1ece91bed678a9 100644 |
| --- a/ui/gfx/font_render_params.h |
| +++ b/ui/gfx/font_render_params.h |
| @@ -91,6 +91,10 @@ GFX_EXPORT FontRenderParams GetFontRenderParams( |
| const FontRenderParamsQuery& query, |
| std::string* family_out); |
| +// Clears GetFontRenderParams()'s cache. Intended to be called by tests that are |
| +// changing Fontconfig's configuration. |
| +GFX_EXPORT void DropFontRenderParamsCacheForTest(); |
|
Daniel Erat
2014/08/04 23:44:43
i'm getting "undeclared identifier" errors that i
msw
2014/08/05 00:55:10
nit: s/Drop/Clear/
msw
2014/08/05 00:55:10
That seems very odd to me as well... would you min
Daniel Erat
2014/08/06 17:43:11
Done.
Daniel Erat
2014/08/06 17:43:11
sure, uploaded. and i can see with an #error that
msw
2014/08/06 19:31:38
Acknowledged; the comment is fine.
|
| + |
| } // namespace gfx |
| #endif // UI_GFX_FONT_RENDER_PARAMS_H_ |