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

Issue 2626933002: Make Editor::appliedEditing update layout before changing selection (Closed)

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

Description

Make Editor::appliedEditing update layout before changing selection Updating frame selection currently requires clean layout, as it calls mostBackwardCaretPosition through SelectionAdjuster. One code path that violates it is from Editor::appliedEditing, which is fixed by this patch. BUG=679616 Review-Url: https://codereview.chromium.org/2626933002 Cr-Commit-Position: refs/heads/master@{#442881} Committed: https://chromium.googlesource.com/chromium/src/+/c9297ecbd87ae09ce5f315c0ae5718cf9a4aabf0

Patch Set 1 #

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M third_party/WebKit/LayoutTests/editing/pasteboard/copy-paste-underlined.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 chunk +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (14 generated)
yosin_UTC9
lgtm Could you also add |DCHECK()| for clean layout to |mose{Back,For}wardCaretPosition()| in another patch?
3 years, 11 months ago (2017-01-11 03:35:02 UTC) #4
Xiaocheng
On 2017/01/11 at 03:35:02, yosin wrote: > lgtm > > Could you also add |DCHECK()| ...
3 years, 11 months ago (2017-01-11 05:00:42 UTC) #5
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/2626933002/20001
3 years, 11 months ago (2017-01-11 06:12:35 UTC) #11
yosin_UTC9
On 2017/01/11 at 05:00:42, xiaochengh wrote: > On 2017/01/11 at 03:35:02, yosin wrote: > > ...
3 years, 11 months ago (2017-01-11 06:31:43 UTC) #12
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/97803)
3 years, 11 months ago (2017-01-11 07:19:56 UTC) #14
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/2626933002/20001
3 years, 11 months ago (2017-01-11 07:23:16 UTC) #16
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/97873)
3 years, 11 months ago (2017-01-11 08:35:13 UTC) #18
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/2626933002/20001
3 years, 11 months ago (2017-01-11 11:52:42 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 12:27:02 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c9297ecbd87ae09ce5f315c0ae57...

Powered by Google App Engine
This is Rietveld 408576698