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

Issue 2949333002: Optimize DocumentMarkerController::MarkerAtPosition() (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

Optimize DocumentMarkerController::MarkerAtPosition() This method is used in some selection-related operations to look for spellcheck markers. Now that we have DocumentMarkerList::MarkersIntersectingRange() (added in https://codereview.chromium.org/2952953002) which uses binary search, we no longer need to do a linear search over all the markers in the node to implement this method. BUG=707867 Review-Url: https://codereview.chromium.org/2949333002 Cr-Commit-Position: refs/heads/master@{#482871} Committed: https://chromium.googlesource.com/chromium/src/+/28fc48705db361c2fd93cd302c0d15c2a1ed8da4

Patch Set 1 #

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

Messages

Total messages: 15 (8 generated)
rlanday
3 years, 6 months ago (2017-06-22 18:48:29 UTC) #4
Xiaocheng
lgtm for code change An issue about the documentation of MarkersIntersectingRange(), which says "... non-empty ...
3 years, 6 months ago (2017-06-23 17:44:08 UTC) #7
rlanday
On 2017/06/23 at 17:44:08, xiaochengh wrote: > lgtm for code change > > An issue ...
3 years, 6 months ago (2017-06-23 18:39:30 UTC) #8
rlanday
On 2017/06/23 at 18:39:30, rlanday wrote: > On 2017/06/23 at 17:44:08, xiaochengh wrote: > > ...
3 years, 6 months ago (2017-06-23 19:38:57 UTC) #9
yosin_UTC9
lgtm
3 years, 5 months ago (2017-06-28 01:31:31 UTC) #10
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/2949333002/1
3 years, 5 months ago (2017-06-28 01:37:16 UTC) #12
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 03:29:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/28fc48705db361c2fd93cd302c0d...

Powered by Google App Engine
This is Rietveld 408576698