Inline some NGPhysicalOffsetRect methods
We want to use NGPhysicalOffsetRect in more places in legacy code, but don't want performance regressions caused by the additional function calls. Some performance measurement (e.g. crrev.com/c/1567095) showed that such small function calls can accumualte to quite big cost if they are called very frequently. Change-Id: I2bbe10669e1c7bbcfae2cf155536fab44136402e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1577586 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#652904}
Showing
Please register or sign in to comment