DescriptionExpand FrameSeleciton::rootEditableElement() to increase chances of hoisting update layout
This patch expands |FrameSeleciton::rootEditableElement()| to increase
chance of hoisting update layout.
Note: This is mechanical change to replace |selection().rootEditableElement()|
by |selection().computeVisibleSelectionInDOMTreeDeprecated().rootEditableElement()|
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()
- isCaret()
- isRange()
BUG=694360
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2706033011
Cr-Commit-Position: refs/heads/master@{#451967}
Committed: https://chromium.googlesource.com/chromium/src/+/44432291616740a6a8ae87b6460aa2b5be812018
Patch Set 1 : 2017-02-22T12:50:05 #
Messages
Total messages: 13 (9 generated)
|