[LayoutNG] Optimize NGPhysicalFragment::BorderWidths
Change NGPhysicalFragment::BorderWidths to simplify code and to avoid an unnecessary cast from float to LayoutUnit per edge. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Idd2446d08c896c095a4189d1229cdd2f875c0068 Reviewed-on: https://chromium-review.googlesource.com/944514Reviewed-by:Aleks Totic <atotic@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#540389}
Showing
Please register or sign in to comment