Chromium Code Reviews
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/2704933006
Cr-Commit-Position: refs/heads/master@{#451724}
Committed: https://chromium.googlesource.com/chromium/src/+/ddf5cfcdc3c53c40d09312564084d5ca638be348
Patch Set 1 : 2017-02-21T15:42:51 #
Messages
Total messages: 13 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||