Chromium Code Reviews
DescriptionExpand FrameSeleciton::start() to increase chances of hoisting update layout
This patch expands |FrameSeleciton::start()| to increase
chance of hoisting update layout.
Note: This is mechanical change to replace |selection().start()|
by |selection().computeVisibleSelectionInDOMTreeDeprecated().start()|
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/2702403004
Cr-Commit-Position: refs/heads/master@{#451939}
Committed: https://chromium.googlesource.com/chromium/src/+/871eda697365b8e2f6513bb3ccb376bc27ef4bbe
Patch Set 1 : 2017-02-22T12:32:36 #Messages
Total messages: 12 (8 generated)
|