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

Issue 2953183004: Comment/test for DocumentMarkerList::MarkersIntersectingRange() with collapsed range (Closed)

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

Description

Comment/test for DocumentMarkerList::MarkersIntersectingRange() with collapsed range When I added this method, I didn't realize it had useful behavior for the case where a collapsed range is passed in. It turns out it does (it returns markers that contain the start/end position in their interior), so I'm adding a comment explaining this behavior and a test case testing it. BUG=707867 Review-Url: https://codereview.chromium.org/2953183004 Cr-Commit-Position: refs/heads/master@{#489192} Committed: https://chromium.googlesource.com/chromium/src/+/bfc3b0fc01351c264824c22da6afbe6e64f46c47

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update comment, Empty => Collapsed #

Total comments: 1

Patch Set 3 : Return => Returns #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
rlanday
3 years, 6 months ago (2017-06-23 19:38:38 UTC) #3
Xiaocheng
Can we use less ambiguous terms other than "empty"? "Empty" reminds me of the empty ...
3 years, 6 months ago (2017-06-23 21:11:39 UTC) #5
rlanday
On 2017/06/23 at 21:11:39, xiaochengh wrote: > Can we use less ambiguous terms other than ...
3 years, 6 months ago (2017-06-23 21:16:51 UTC) #6
rlanday
On 2017/06/23 at 21:16:51, rlanday wrote: > On 2017/06/23 at 21:11:39, xiaochengh wrote: > > ...
3 years, 6 months ago (2017-06-23 21:21:32 UTC) #8
Xiaocheng
lgtm https://codereview.chromium.org/2953183004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h File third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h (right): https://codereview.chromium.org/2953183004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h#newcode36 third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h:36: // Return markers whose interiors have non-empty overlap ...
3 years, 6 months ago (2017-06-23 21:40:32 UTC) #11
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/2953183004/60001
3 years, 5 months ago (2017-07-24 23:34:01 UTC) #14
commit-bot: I haz the power
3 years, 5 months ago (2017-07-25 02:30:31 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/bfc3b0fc01351c264824c22da6af...

Powered by Google App Engine
This is Rietveld 408576698