RubyNG: Cleanup of ComputeAnnotationOverflow()
- Do not use NGLineHeightMetrics The return value is unrelated to ascent/descent. - Do not use a single field for two difference purpose; overflow and space - Rename variables named |*_block_start/end| to |*_over/under| in ComputeAnnotationOverflow(). All variables representing offsets are in line-relative coordination system. |*_block_start/end| are confusing. This CL has no behavior changes. Bug: 1069817 Change-Id: Ida0f3abdb462fa0b35d4b0a9a299a1e1c1e5c442 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2260478 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#781668}
Showing
Please register or sign in to comment