commit | 3d8a59becdfba11d9e9249f04c4ed6695e2a878b | [log] [tgz] |
---|---|---|
author | yoichio <yoichio@chromium.org> | Tue May 23 07:26:33 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 23 07:26:33 2017 |
tree | 107a7a2cdc07882ee98d7ff5e0c765dae41c9ba6 | |
parent | 719237584073bc2ef77a64e4f8b1514e66ef037e [diff] |
Split LayoutSelecton::ClearSelection() out from SetSelection() |ClearSelection()| calls |SetSelection(0, -1, 0, -1, kPaintInvalidationNewMinusOld)| but what it does is only marking old layout object selection state none and invalidating them. Just extract its step and make |SetSelection()| layout clean. BUG=708453 TEST=No change in behavior Review-Url: https://codereview.chromium.org/2894383003 Cr-Commit-Position: refs/heads/master@{#473827}