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

Issue 2910373002: DCHECK instead of return at LayoutSelection::Commit() (Closed)

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

Description

DCHECK instead of return at LayoutSelection::Commit() We early return in some cases but they must not happen because we use valid VisibleSelection which is not null. // We can get into a state where the selection endpoints map to the same // |VisiblePosition| when a selection is deleted because we don't yet // the |FrameSelection| of text removal. That's now not the case because we have SelectionController catching text modification. BUG=708453 Review-Url: https://codereview.chromium.org/2910373002 Cr-Commit-Position: refs/heads/master@{#475870} Committed: https://chromium.googlesource.com/chromium/src/+/57149441c70f2e87c1dc4e02895125536cb84baf

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -17 lines) Patch
M third_party/WebKit/Source/core/editing/LayoutSelection.cpp View 2 chunks +13 lines, -17 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
yoichio
3 years, 6 months ago (2017-05-31 07:05:43 UTC) #5
yosin_UTC9
lgtm
3 years, 6 months ago (2017-05-31 07:20:09 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/2910373002/1
3 years, 6 months ago (2017-05-31 10:38:08 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 10:42:31 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/57149441c70f2e87c1dc4e028951...

Powered by Google App Engine
This is Rietveld 408576698