|
|
DescriptionRefactor DocumentMarkerController::MoveMarkers()
As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation
changes for this method I previously was including in
https://codereview.chromium.org/2812423002 into a separate CL.
We want to separate out the implementation changes we need to pull out the main
part of this method into a method on DocumentMarkerListEditor, and actually
adding that method.
This CL needs the AddMarker() method I'm adding in that CL, so I've removed the
MoveMarkers() changes entirely from that one and will upload a third CL that
adds DocumentMarkerListEditor::MoveMarkers().
BUG=707867
Review-Url: https://codereview.chromium.org/2819173002
Cr-Commit-Position: refs/heads/master@{#465124}
Committed: https://chromium.googlesource.com/chromium/src/+/a92abb9ad049f637596371997cc125f182ae3cc3
Patch Set 1 #Patch Set 2 : Refactor without adding a helper method yet #
Total comments: 1
Patch Set 3 : Remove leftover method from header #Patch Set 4 : Rebase #
Total comments: 2
Patch Set 5 : Fix nits #Messages
Total messages: 31 (22 generated)
The CQ bit was checked by rlanday@chromium.org to run a CQ dry run
rlanday@chromium.org changed reviewers: + xiaochengh@chromium.org, yosin@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Wait, I think we actually want to do the change without a helper method in this CL...
The CQ bit was checked by rlanday@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/04/17 at 05:19:33, rlanday wrote: > Wait, I think we actually want to do the change without a helper method in this CL... Ok, I think this is what we want: refactoring this method to prepare to add the helper method without actually doing it yet
rlanday@chromium.org changed reviewers: + yoichio@chromium.org
https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h (right): https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h:152: bool MoveMarkersToList(MarkerList* src_list, Please get rid of this.
Description was changed from ========== Add DocumentMarkerController::MoveMarkersToList() helper method As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation changes for this method I previously was including in https://codereview.chromium.org/2812423002 into a separate CL. This CL needs the AddMarker() method I'm adding in that CL, so I've removed the MoveMarkers() changes entirely from that one and will upload a third CL that adds DocumentMarkerListEditor::MoveMarkers(); BUG=707867 ========== to ========== Refactor DocumentMarkerController::MoveMarkers() As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation changes for this method I previously was including in https://codereview.chromium.org/2812423002 into a separate CL. We want to separate out the implementation changes we need to pull out the main part of this method into a method on DocumentMarkerListEditor, and actually adding that method. This CL needs the AddMarker() method I'm adding in that CL, so I've removed the MoveMarkers() changes entirely from that one and will upload a third CL that adds DocumentMarkerListEditor::MoveMarkers(). BUG=707867 ==========
rlanday@chromium.org changed reviewers: - yoichio@chromium.org
The CQ bit was checked by rlanday@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/04/17 at 06:37:29, xiaochengh wrote: > https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Sour... > File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h (right): > > https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Sour... > third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h:152: bool MoveMarkersToList(MarkerList* src_list, > Please get rid of this. ahh sorry, fixed
The CQ bit was checked by rlanday@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
xiaochengh@chromium.org changed reviewers: + tkent@chromium.org
+tkent as yosin is OOO. lgtm with nits. https://codereview.chromium.org/2819173002/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2819173002/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:311: marker_list_index++) { nit: ++marker_list_index Google coding style prefers prefix increment. https://codereview.chromium.org/2819173002/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:316: if (!dst_markers->at(marker_list_index)) { nit: no need to have extra braces
lgtm
The CQ bit was checked by rlanday@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by rlanday@chromium.org
The CQ bit was checked by rlanday@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tkent@chromium.org, xiaochengh@chromium.org Link to the patchset: https://codereview.chromium.org/2819173002/#ps80001 (title: "Fix nits")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1492483525903340, "parent_rev": "ff0fb24270d54a21f036fa77132b11fe03eafd06", "commit_rev": "a92abb9ad049f637596371997cc125f182ae3cc3"}
Message was sent while issue was closed.
Description was changed from ========== Refactor DocumentMarkerController::MoveMarkers() As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation changes for this method I previously was including in https://codereview.chromium.org/2812423002 into a separate CL. We want to separate out the implementation changes we need to pull out the main part of this method into a method on DocumentMarkerListEditor, and actually adding that method. This CL needs the AddMarker() method I'm adding in that CL, so I've removed the MoveMarkers() changes entirely from that one and will upload a third CL that adds DocumentMarkerListEditor::MoveMarkers(). BUG=707867 ========== to ========== Refactor DocumentMarkerController::MoveMarkers() As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation changes for this method I previously was including in https://codereview.chromium.org/2812423002 into a separate CL. We want to separate out the implementation changes we need to pull out the main part of this method into a method on DocumentMarkerListEditor, and actually adding that method. This CL needs the AddMarker() method I'm adding in that CL, so I've removed the MoveMarkers() changes entirely from that one and will upload a third CL that adds DocumentMarkerListEditor::MoveMarkers(). BUG=707867 Review-Url: https://codereview.chromium.org/2819173002 Cr-Commit-Position: refs/heads/master@{#465124} Committed: https://chromium.googlesource.com/chromium/src/+/a92abb9ad049f637596371997cc1... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/a92abb9ad049f637596371997cc1... |