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

Issue 2368903002: Ensure valid VisiblePosition input for character{Before,After} (Closed)

Created:
4 years, 2 months ago by Xiaocheng
Modified:
4 years, 2 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure valid VisiblePosition input for character{Before,After} This patch also drive-by eliminates a |createVisiblePositionDeprecated| in |CompositeEditCommand::prepareWhitespaceAtPositionForSplit|. BUG=648949 Committed: https://crrev.com/7b0d88beaef6c050b97d2aacd3310be4ef6fd4c0 Cr-Commit-Position: refs/heads/master@{#421164}

Patch Set 1 #

Patch Set 2 : Ensure valid VisiblePosition input for character{Before,After} #

Total comments: 4

Patch Set 3 : Add DCHECK for the correctness of postponing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (24 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-09-27 05:54:29 UTC) #15
yosin_UTC9
https://codereview.chromium.org/2368903002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2368903002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode3017 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:3017: static UChar32 characterBeforeAlgorithm(const VisiblePositionTemplate<Strategy>& visiblePosition) Not sure how about ...
4 years, 2 months ago (2016-09-27 08:30:53 UTC) #20
Xiaocheng
Updated. https://codereview.chromium.org/2368903002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2368903002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode3017 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:3017: static UChar32 characterBeforeAlgorithm(const VisiblePositionTemplate<Strategy>& visiblePosition) On 2016/09/27 at ...
4 years, 2 months ago (2016-09-27 08:48:51 UTC) #23
yosin_UTC9
lgtm
4 years, 2 months ago (2016-09-27 08:57:35 UTC) #24
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/2368903002/40001
4 years, 2 months ago (2016-09-27 10:40:19 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-27 10:45:27 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 10:46:56 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7b0d88beaef6c050b97d2aacd3310be4ef6fd4c0
Cr-Commit-Position: refs/heads/master@{#421164}

Powered by Google App Engine
This is Rietveld 408576698