Add unittests for default font constructor.
This CL is adding a test to cover: Font::Font(...) PlatformFont::CreateDefault(...) The default constructor was not covered by any unittests. This was found while doing the migration from PlatformFontWin to PlatformFontSkia. This CL is also restricting the use Font::platform_font(...) to windows. This function will be removed as soon as the migration is completed. R=robliao@chromium.org, asvitkine@chromium.org CC=benck@google.com Bug: 944227 Change-Id: Ib9a77c412966c3ebff81dfbf5340a762f69dc6e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1642816 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#666373}
Showing
Please register or sign in to comment