[layoutng] Inline some functions in geometry/
This is more complex than you might expect because NGLogicalSize and NGPhysicalSize depend on each other, so I can't inline the Convert functions in both headers. Instead, I made NGLogicalSize::ConvertToPhysical a global function and renamed it ToNGPhysicalSize. Change-Id: I8d781fa73d262f75cd8196509a58f67a6fb5ec54 Reviewed-on: https://chromium-review.googlesource.com/c/1311083 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#604438}
Showing
Please register or sign in to comment