Chromium Code Reviews
DescriptionMake FrameCaret to retrieve caret position from SelectionEditor
This patch makes |FrameCaret| to use caret position from |SelectionEditor|
instead of holding caret position in |FrameCaret| to get rid of code of
maintaining caret position between |FrameCaret| and |SelectionEditor|
synchronize for improving code health.
The root cause of crbug.com/628520 is missing synchronization code in
|FrameSelection::updateIfNeeded()|. This patch is simpler than adding
synchronization code in |FrameSelection::updateIfNeeded()|.
BUG=628520
TEST=run_webkit_unit_tests --gtest_filter=FrameSelectionTest.updateIfNeededAndFrameCaret
Committed: https://crrev.com/ec7e0ef4bfdb8f0cd0c9a45ed9d45755d9a3c684
Cr-Commit-Position: refs/heads/master@{#406792}
Patch Set 1 : 2016-07-20T13:32:26 #
Total comments: 2
Patch Set 2 : 2016-07-20T18:26:24 #
Total comments: 6
Patch Set 3 : 2016-07-21T11:26:04 #
Messages
Total messages: 25 (16 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||