DescriptionExpand FrameSeleciton::isContentRichlyEditable()
This patch expands |FrameSeleciton::isContentRichlyEditable()| to increase
chance of hoisting update layout.
Note: This is mechanical change to replace |selection().isContentRichlyEditable()|
by
|selection().computeVisibleSelectionInDOMTreeDeprecated().isContentRichlyEditable()|
Following patch will remove deprecated version.
This patch is part of expanding expensive member functions in |FrameSelection|:
- rootEditableElement()
- hasEditableStyle()
- isContentEditable()
- isContentRichlyEditable()
- base()
- extent()
- start()
- end()
- isNone()
- isCaret()
- isRange()
BUG=694360
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2706023003
Cr-Commit-Position: refs/heads/master@{#451707}
Committed: https://chromium.googlesource.com/chromium/src/+/1d4a8832edffa6fb5a0d4e217008fb959b8c9fe6
Patch Set 1 : 2017-02-21T11:28:21 #
Messages
Total messages: 15 (11 generated)
|