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

Issue 2425623002: Get rid of flat tree version of createVisibleSelection() taking two VisiblePositionInFlatTree (Closed)

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

Description

Get rid of flat tree version of createVisibleSelection() taking two VisiblePositionInFlatTree This patch gets rid of flat tree version of |createVisibleSelection()| taking to |VisiblePositionInFlatTree|by replacing with |SelectionInFlatTree| version to reduce number of overloads for improving code health. BUG=657237 TEST=n/a; no behavior changes Committed: https://crrev.com/dfb8322ccb6687fa5fd64029e9746049c12e06e1 Cr-Commit-Position: refs/heads/master@{#426419}

Patch Set 1 : 2016-10-17T17:15:40 #

Patch Set 2 : 2016-10-18T17:19:25 #

Patch Set 3 : 2016-10-18T17:29:55 #

Total comments: 6

Patch Set 4 : 2016-10-20T13:16:24 #

Patch Set 5 : 2016-10-20T13:19:29 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -21 lines) Patch
M third_party/WebKit/Source/core/editing/PendingSelection.cpp View 1 2 1 chunk +16 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.cpp View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (20 generated)
yosin_UTC9
PTAL
4 years, 2 months ago (2016-10-19 01:05:50 UTC) #13
Xiaocheng
https://codereview.chromium.org/2425623002/diff/40001/third_party/WebKit/Source/core/editing/PendingSelection.cpp File third_party/WebKit/Source/core/editing/PendingSelection.cpp (right): https://codereview.chromium.org/2425623002/diff/40001/third_party/WebKit/Source/core/editing/PendingSelection.cpp#newcode85 third_party/WebKit/Source/core/editing/PendingSelection.cpp:85: if (visibleStart.isNull()) Does it change the behavior? |createVisiblePosition(pos, pos)| ...
4 years, 2 months ago (2016-10-19 02:33:47 UTC) #14
yosin_UTC9
https://codereview.chromium.org/2425623002/diff/40001/third_party/WebKit/Source/core/editing/PendingSelection.cpp File third_party/WebKit/Source/core/editing/PendingSelection.cpp (right): https://codereview.chromium.org/2425623002/diff/40001/third_party/WebKit/Source/core/editing/PendingSelection.cpp#newcode85 third_party/WebKit/Source/core/editing/PendingSelection.cpp:85: if (visibleStart.isNull()) On 2016/10/19 at 02:33:47, Xiaocheng wrote: > ...
4 years, 2 months ago (2016-10-19 03:59:58 UTC) #15
Xiaocheng
I see. lgtm then.
4 years, 2 months ago (2016-10-19 04:04:21 UTC) #16
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/2425623002/40001
4 years, 2 months ago (2016-10-19 04:14:08 UTC) #18
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/51457) chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 2 months ago (2016-10-19 09:53:59 UTC) #20
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/2425623002/40001
4 years, 2 months ago (2016-10-19 09:55:39 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/90054) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-19 09:59:10 UTC) #25
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/2425623002/80001
4 years, 2 months ago (2016-10-20 04:20:37 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-20 05:47:38 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:16:15 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dfb8322ccb6687fa5fd64029e9746049c12e06e1
Cr-Commit-Position: refs/heads/master@{#426419}

Powered by Google App Engine
This is Rietveld 408576698