Set SelectionState w/o propagation at LayoutSelection::Commit().
We reassign SelectionState at the end of LayoutSelection::Commit() to avoid use-after-free. This patch changes it to call non virtual LayoutObject::SetSelectionState() and assign SelectionState to only target LayoutObjects. Bug: 739062 Change-Id: I5613257c99332b887501e1bcd4fe27482f9280d0 Reviewed-on: https://chromium-review.googlesource.com/773788Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#517031}
Showing
Please register or sign in to comment