[LayoutNG] Use integer-version of ascent/descent

This patch changes ascent and descent from LayoutUnit to
integer, so that the use is consistent.

In future, we'll want to switch to LayoutUnit, but
inconsitent use is likely to be a source of problems
than to help the migration.

Bug: 636993
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I81bb766eaf4579b50bbe1896e48018b3aea81c20
Reviewed-on: https://chromium-review.googlesource.com/1075909
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575939}
2 files changed