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

Issue 2873483002: [DMC #5.6] Add type cast for SpellCheckMarkerListImpl (Closed)

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

Description

Add type cast for SpellCheckMarkerListImpl This will be used to cast a DocumentMarkerList* to SpellCheckMarkerListImpl* in DocumentMarkerController once RemoveMarkersUnderWords() is a method defined on SpellCheckMarkerListImpl instead of DocumentMarkerList. BUG=707867 Review-Url: https://codereview.chromium.org/2873483002 Cr-Commit-Position: refs/heads/master@{#472324} Committed: https://chromium.googlesource.com/chromium/src/+/afa32648e767d5288c0ea85ca18526ac8810fe0d

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 3

Patch Set 3 : Use correct base commit, add check condition to cast #

Patch Set 4 : Rebase #

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

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 29 (15 generated)
rlanday
Note currently there's no method on SpellCheckMarkerListImpl for the cast to DCHECK that it's a ...
3 years, 7 months ago (2017-05-08 21:21:39 UTC) #2
yosin_UTC9
On 2017/05/08 at 21:21:39, rlanday wrote: > Note currently there's no method on SpellCheckMarkerListImpl for ...
3 years, 7 months ago (2017-05-10 07:43:11 UTC) #3
rlanday
I agree that option 1 gets kind of messy as we have to keep adding ...
3 years, 7 months ago (2017-05-10 17:05:45 UTC) #4
rlanday
Note that we can't actually have a ToSpellCheckMarkerListImpl() cast that works for both SpellingListImpl and ...
3 years, 7 months ago (2017-05-10 17:23:27 UTC) #5
Xiaocheng
I prefer 2 with SpellCheckingMarkerListImpl::marker_type_, which leads to the least amount of work
3 years, 7 months ago (2017-05-10 18:30:04 UTC) #6
rlanday
On 2017/05/10 at 18:30:04, xiaochengh wrote: > I prefer 2 with SpellCheckingMarkerListImpl::marker_type_, which leads to ...
3 years, 7 months ago (2017-05-10 19:07:47 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2873483002/diff/20001/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.h File third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.h (right): https://codereview.chromium.org/2873483002/diff/20001/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.h#newcode23 third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.h:23: DocumentMarker::MarkerType MarkerType() const final; Could you introduce |DocumentMarkerList::MarkerType()| in ...
3 years, 7 months ago (2017-05-15 02:17:28 UTC) #12
rlanday
https://codereview.chromium.org/2873483002/diff/20001/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h File third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h (right): https://codereview.chromium.org/2873483002/diff/20001/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h#newcode49 third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h:49: true, On 2017/05/15 at 02:17:28, yosin_UTC9 wrote: > MarkerType() ...
3 years, 7 months ago (2017-05-15 02:27:11 UTC) #13
rlanday
Ok, I'm sorry, I was accidentally including the changes from https://codereview.chromium.org/2868413002 before and had forgotten ...
3 years, 7 months ago (2017-05-15 03:02:20 UTC) #16
yosin_UTC9
lgtm
3 years, 7 months ago (2017-05-15 03:54:55 UTC) #17
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/2873483002/60001
3 years, 7 months ago (2017-05-16 20:56:56 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/295455)
3 years, 7 months ago (2017-05-16 22:49:35 UTC) #24
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/2873483002/60001
3 years, 7 months ago (2017-05-17 00:03:53 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 04:27:36 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/afa32648e767d5288c0ea85ca185...

Powered by Google App Engine
This is Rietveld 408576698