Chromium Code Reviews
DescriptionExpand FrameSeleciton::base() to increase chances of hoisting update layout
This patch expands |FrameSeleciton::base()| to increase chance of hoisting
update layout.
Note: This is mechanical change to replace |selection().base()|
by |selection().computeVisibleSelectionInDOMTreeDeprecated().base()|
and modify some explicit case use |computeVisibleSelectionInDOMTree()|.
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/2709793003
Cr-Commit-Position: refs/heads/master@{#451957}
Committed: https://chromium.googlesource.com/chromium/src/+/1886d611f3f71c0ebe55a6d8fc49a40297ef7f99
Patch Set 1 : 2017-02-22T13:08:01 #
Messages
Total messages: 15 (10 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||