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

Issue 2412493004: Ensure valid VisiblePositions in InsertListCommand::doApply (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 VisiblePositions in InsertListCommand::doApply This patch ensures that the VisiblePositions created in InsertListCommand::doApply are always valid when used. This patch is a prepartion of pruning createVisibleSelectionDeprecated from EditCommand::setEndingSelection. BUG=648949 Committed: https://crrev.com/af07c6533b27d117b9f57595253e6d3dde192734 Cr-Commit-Position: refs/heads/master@{#424727}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use new functions of PWA #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -40 lines) Patch
M third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp View 1 4 chunks +55 lines, -40 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (11 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-10-12 05:20:01 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp File third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp (right): https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp#newcode228 third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp:228: if (endOfSelection.isNull() || endOfSelection.position().isOrphan() || It it better to ...
4 years, 2 months ago (2016-10-12 06:27:43 UTC) #7
Xiaocheng
https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp File third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp (right): https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp#newcode228 third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp:228: if (endOfSelection.isNull() || endOfSelection.position().isOrphan() || On 2016/10/12 at 06:27:43, ...
4 years, 2 months ago (2016-10-12 06:31:06 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp File third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp (right): https://codereview.chromium.org/2412493004/diff/1/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp#newcode228 third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp:228: if (endOfSelection.isNull() || endOfSelection.position().isOrphan() || On 2016/10/12 at 06:31:06, ...
4 years, 2 months ago (2016-10-12 06:38:47 UTC) #9
Xiaocheng
Updated with new functions introduced to PWA (https://codereview.chromium.org/2406163004). PTAL.
4 years, 2 months ago (2016-10-12 07:51:52 UTC) #12
yosin_UTC9
lgtm
4 years, 2 months ago (2016-10-12 07:56:39 UTC) #13
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/2412493004/20001
4 years, 2 months ago (2016-10-12 13:23:26 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 13:30:16 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 13:33:53 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/af07c6533b27d117b9f57595253e6d3dde192734
Cr-Commit-Position: refs/heads/master@{#424727}

Powered by Google App Engine
This is Rietveld 408576698