DescriptionAvoid converting an IntRect to IntRect via FloatRect
IntRects can be implictly converted to FloatRect so code managed
to call enclosingIntRect on an IntRect which then converted to
FloatRect and back for an expensive noop.
R=mstensho@opera.com
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2805203003
Cr-Commit-Position: refs/heads/master@{#462848}
Committed: https://chromium.googlesource.com/chromium/src/+/42cd1de28a6495c29e355dd4114f83ebb74a71bd
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|