DescriptionExpand FrameSeleciton::isRange() to increase chances of hoisting update layout
This patch expands |FrameSeleciton::isRange()| to increase
chance of hoisting update layout.
Note: This is mechanical change to replace |selection().isRange()|
by |selection().computeVisibleSelectionInDOMTreeDeprecated().isRange()|
Following patch will remove deprecated version.
This patch is apart of expanding expensive member functions in |FrameSelection|:
- rootEditableElement()
- hasEditableStyle()
- isContentEditable()
- isContentRichlyEditable()
- getSelectionType()
- base()
- extent()
- start()
- end()
- isNone()
- isRange()
- isRange()
BUG=694360
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2708703003
Cr-Commit-Position: refs/heads/master@{#451781}
Committed: https://chromium.googlesource.com/chromium/src/+/f895c25f6f60ffbddc9afac93d134a677551b37b
Patch Set 1 : 2017-02-21T13:10:49 #Patch Set 2 : 2017-02-21T14:52:21 #Patch Set 3 : 2017-02-21T23:48:22 rebase #Messages
Total messages: 27 (19 generated)
|