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

Issue 2657703003: Clean up updateSelectionIfSelectAll using SelectionBuilder (Closed)

Created:
3 years, 11 months ago by yoichio
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

Clean up updateSelectionIfSelectAll using SelectionBuilder This CL does: 1. Rename updateSelectionIfSelectAll to applySelectAll and have the function returning VisibleSelection. 2. Use SelectionBuilder to update selection so that we avoid call VisibleSelection::validate twice. TEST=No change in behavior Review-Url: https://codereview.chromium.org/2657703003 Cr-Commit-Position: refs/heads/master@{#446204} Committed: https://chromium.googlesource.com/chromium/src/+/3c72dd4fcdb2ece2e571bf9b92a23949b9ea438b

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

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

Messages

Total messages: 19 (13 generated)
yoichio
3 years, 11 months ago (2017-01-25 06:27:41 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2657703003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2657703003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode281 third_party/WebKit/Source/core/editing/SelectionController.cpp:281: static VisibleSelectionInFlatTree applySelectAll( Could you make |applySelectAll()| to return ...
3 years, 11 months ago (2017-01-25 06:41:05 UTC) #8
yoichio
https://codereview.chromium.org/2657703003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2657703003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode281 third_party/WebKit/Source/core/editing/SelectionController.cpp:281: static VisibleSelectionInFlatTree applySelectAll( On 2017/01/25 06:41:05, Yosi_UTC9 wrote: > ...
3 years, 11 months ago (2017-01-25 08:00:25 UTC) #11
yosin_UTC9
lgtm
3 years, 11 months ago (2017-01-25 08:10:44 UTC) #12
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/2657703003/20001
3 years, 11 months ago (2017-01-26 01:54:27 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 02:00:49 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3c72dd4fcdb2ece2e571bf9b92a2...

Powered by Google App Engine
This is Rietveld 408576698