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

Issue 2895193002: Cleanup traversing in LayoutSelection.cpp::CollectSelectedMap() (Closed)

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

Description

Cleanup traversing in LayoutSelection.cpp::CollectSelectedMap() Since |selection_start| is always before |selection_end|(L322), we don't need to switch back traversing. Patch[1] introduced the backward traversal to support CSS Region. Since, Blink doesn't support CSS Region, we can remove it safely. [1] https://chromiumcodereview.appspot.com/23674007 [CSSRegions] Not possible to clear the selection when mixing content from different FlowThreads BUG=708453 Review-Url: https://codereview.chromium.org/2895193002 Cr-Commit-Position: refs/heads/master@{#473872} Committed: https://chromium.googlesource.com/chromium/src/+/353a96e9ef4fe92c8808aac4acec49b2a7527109

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit #

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

Messages

Total messages: 16 (11 generated)
yoichio
3 years, 7 months ago (2017-05-23 01:41:11 UTC) #7
yoichio
PTAL
3 years, 7 months ago (2017-05-23 05:40:34 UTC) #8
yosin_UTC9
lgtm w/ small nit and please update description to provide an evidence about safeness of ...
3 years, 7 months ago (2017-05-23 09:01:36 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/2895193002/20001
3 years, 7 months ago (2017-05-23 09:13:10 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 13:04:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/353a96e9ef4fe92c8808aac4acec...

Powered by Google App Engine
This is Rietveld 408576698