commit | 6b583e8e663c6afb2a9ceffaaad6b54637bdd8fc | [log] [tgz] |
---|---|---|
author | yoichio <yoichio@chromium.org> | Thu Jun 15 08:39:14 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 15 08:39:14 2017 |
tree | 39910cf82661fd3dc6f4ed60843360a17ee53e30 | |
parent | 4873f6cb2f8c674cbf7529b69820cd58c2d4df1f [diff] |
Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collects LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior Review-Url: https://codereview.chromium.org/2938133002 Cr-Commit-Position: refs/heads/master@{#479643}