Chromium Code Reviews
DescriptionExpand FrameSeleciton::isNone() to increase chances of hoisting update layout
This patch expands |FrameSeleciton::isNone()| to increase chance of hoisting
update layout.
Note: This is mechanical change to replace |selection().isNone()|
by |selection().computeVisibleSelectionInDOMTreeDeprecated().isNone()|
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/2710883002
Cr-Commit-Position: refs/heads/master@{#452435}
Committed: https://chromium.googlesource.com/chromium/src/+/3032e512f4c50e0275cc2306cf75208ee7c9a2c4
Patch Set 1 : 2017-02-22T12:59:40 #Patch Set 2 : 2017-02-23T08:39:24 #Patch Set 3 : 2017-02-23T16:27:43 rebase to resolve conflict with DOMSelection in r452402 #Messages
Total messages: 37 (22 generated)
|