Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Issue 2704123003: Expand FrameSeleciton::isCaret() to increase chances of hoisting update layout (Closed)

Created:
3 years, 10 months ago by yosin_UTC9
Modified:
3 years, 10 months ago
Reviewers:
tkent, yoichio
CC:
blink-reviews, chromium-reviews, dcheng, dtapuska+blinkwatch_chromium.org, groby+blinkspell_chromium.org, kinuko+watch, mlamouri+watch-blink_chromium.org, Navid Zolghadr, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand FrameSeleciton::isCaret() to increase chances of hoisting update layout This patch expands |FrameSeleciton::isCaret()| to increase chance of hoisting update layout. Note: This is mechanical change to replace |selection().isCaret()| by |selection().computeVisibleSelectionInDOMTreeDeprecated().isCaret()| 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/2704123003 Cr-Commit-Position: refs/heads/master@{#451744} Committed: https://chromium.googlesource.com/chromium/src/+/c183eaa3876b03b16c2c84e3dfb3b87b63071a5b

Patch Set 1 : 2017-02-21T12:50:46 #

Messages

Total messages: 17 (11 generated)
yosin_UTC9
PTAL Changes in core/editing/ core/input/ and web/
3 years, 10 months ago (2017-02-21 06:35:08 UTC) #5
tkent
lgtm
3 years, 10 months ago (2017-02-21 06:40:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2704123003/1
3 years, 10 months ago (2017-02-21 06:44:30 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/122875)
3 years, 10 months ago (2017-02-21 08:23:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2704123003/1
3 years, 10 months ago (2017-02-21 12:29:35 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 13:07:24 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c183eaa3876b03b16c2c84e3dfb3...

Powered by Google App Engine
This is Rietveld 408576698