Fix SetAhemBody to set proper font size
LayoutTextTest and LayoutTextFragmentTest do not set font-size when SetAhemBody is used. This caused DCHECK failures added in CL:1111895 due to too much rounding errors. This patch fixes that by setting the font-size to 10px. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I6e945a6f07902c50bbfcbca4014d324ba1ae1d0a Reviewed-on: https://chromium-review.googlesource.com/1113697Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#570289}
Showing
Please register or sign in to comment