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

Issue 2706013005: Expand FrameSeleciton::getSelectionType() 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, krit, fmalita+watch_chromium.org, fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 : 2017-02-22T12:34:17 #

Patch Set 2 : 2017-02-22T21:26:37 rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
yosin_UTC9
PTAL Changes in core/editing/ and core/svg/
3 years, 10 months ago (2017-02-22 06:53:23 UTC) #5
tkent
lgtm
3 years, 10 months ago (2017-02-22 07:35:23 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/2706013005/1
3 years, 10 months ago (2017-02-22 07:36:55 UTC) #9
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-22 10:51:52 UTC) #11
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/2706013005/20001
3 years, 10 months ago (2017-02-22 12:28:11 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 14:08:37 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/82b855c5f7d20fc8a8b5bcb4a61f...

Powered by Google App Engine
This is Rietveld 408576698