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

Issue 2882963002: Introduce MarkSetSelectionState() in LayoutSelection::SetSelection() (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

Introduce MarkSetSelectionState() in LayoutSelection::SetSelection() This CL improves code readbility BUG=708453 TEST=No change in behavior Review-Url: https://codereview.chromium.org/2882963002 Cr-Commit-Position: refs/heads/master@{#472403} Committed: https://chromium.googlesource.com/chromium/src/+/62b34f48da334b945960af53f8cbaf656907bf0c

Patch Set 1 #

Total comments: 12

Patch Set 2 : update #

Total comments: 4

Patch Set 3 : update #

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

Messages

Total messages: 36 (21 generated)
yoichio
3 years, 7 months ago (2017-05-15 08:00:00 UTC) #3
yosin_UTC9
https://codereview.chromium.org/2882963002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2882963002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode189 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:189: static void MarkSetSelectionState(LayoutObject* start, nit: s/MarkSetSelectionState/MarkSelectionState/ No need to ...
3 years, 7 months ago (2017-05-15 08:30:05 UTC) #4
yoichio
https://codereview.chromium.org/2882963002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2882963002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode189 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:189: static void MarkSetSelectionState(LayoutObject* start, On 2017/05/15 08:30:05, yosin_UTC9 wrote: ...
3 years, 7 months ago (2017-05-15 09:12:22 UTC) #5
yosin_UTC9
https://codereview.chromium.org/2882963002/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2882963002/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode193 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:193: if (start && start == end) Oops, sorry my ...
3 years, 7 months ago (2017-05-16 01:38:14 UTC) #10
yoichio
PTAL https://codereview.chromium.org/2882963002/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2882963002/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode193 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:193: if (start && start == end) This code ...
3 years, 7 months ago (2017-05-16 01:48:07 UTC) #13
yosin_UTC9
It seems we have non-null |start| and |end|. void LayoutSelection::SetSelection( LayoutObject* start, int start_pos, LayoutObject* ...
3 years, 7 months ago (2017-05-16 01:52:44 UTC) #14
yosin_UTC9
Note: trybots failures are not related this patch. It seems something is wrong in trybots. ...
3 years, 7 months ago (2017-05-16 01:53:55 UTC) #17
yoichio
We only have non-null |start| and |end| or both null |start| and |end|. Both-null case ...
3 years, 7 months ago (2017-05-16 01:56:31 UTC) #18
yosin_UTC9
lgtm
3 years, 7 months ago (2017-05-16 04:14:21 UTC) #21
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/2882963002/40001
3 years, 7 months ago (2017-05-16 07:55:02 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/427644)
3 years, 7 months ago (2017-05-16 08:44:41 UTC) #27
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/2882963002/40001
3 years, 7 months ago (2017-05-17 00:14:19 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/428622)
3 years, 7 months ago (2017-05-17 06:37:20 UTC) #31
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/2882963002/40001
3 years, 7 months ago (2017-05-17 08:00:52 UTC) #33
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 09:52:45 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/62b34f48da334b945960af53f8cb...

Powered by Google App Engine
This is Rietveld 408576698