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

Issue 2412443002: Recalculate |visiblePos| for InsertParagraphSeparatorCommand::doApply() after mutations (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

Recalculate |visiblePos| for InsertParagraphSeparatorCommand::doApply() after mutations This patch does the following change to the above mentioned function that, |visiblePos| is always recalculated as |createVisiblePosition(insertionPosition)| before being used, so that it is always valid at those places. BUG=648949 Committed: https://crrev.com/7850cba844bb06053c9d6d553700240d15978af4 Cr-Commit-Position: refs/heads/master@{#424673}

Patch Set 1 #

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

Depends on Patchset:

Messages

Total messages: 15 (9 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-10-11 09:20:37 UTC) #5
yosin_UTC9
lgtm Can we use separate variable name for each life span of |visiblePos|?
4 years, 2 months ago (2016-10-12 04:48:56 UTC) #8
Xiaocheng
On 2016/10/12 at 04:48:56, yosin wrote: > lgtm > > Can we use separate variable ...
4 years, 2 months ago (2016-10-12 04:52:56 UTC) #9
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/2412443002/1
4 years, 2 months ago (2016-10-12 04:53:23 UTC) #11
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 2 months ago (2016-10-12 05:03:03 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 05:04:34 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7850cba844bb06053c9d6d553700240d15978af4
Cr-Commit-Position: refs/heads/master@{#424673}

Powered by Google App Engine
This is Rietveld 408576698