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

Issue 2936563002: [clean ios] Fix TabCollectionMediator disconnect. (Closed)

Created:
3 years, 6 months ago by marq (ping after 24h)
Modified:
3 years, 6 months ago
Reviewers:
sdefresne, edchin
CC:
chromium-reviews, marq+scrutinize_chromium.org, ios-reviews+clean_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[clean ios] Fix TabCollectionMediator disconnect. TabCollectionMediator -disconnect wasn't removing observers, and was spuriously resetting the observer (the scoped observer takes care of that). BUG= Review-Url: https://codereview.chromium.org/2936563002 Cr-Commit-Position: refs/heads/master@{#479689} Committed: https://chromium.googlesource.com/chromium/src/+/067285ecc6e5d1cc8fb16046274727d3b58123c3

Patch Set 1 #

Total comments: 3

Patch Set 2 : Restore observer reset. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (4 generated)
marq (ping after 24h)
3 years, 6 months ago (2017-06-12 09:36:49 UTC) #2
sdefresne
https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm File ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm (right): https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm#newcode52 ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm:52: _scopedWebStateListObserver->RemoveAll(); I don't understand the comment that ScopedObserver takes ...
3 years, 6 months ago (2017-06-12 09:48:07 UTC) #3
marq (ping after 24h)
https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm File ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm (right): https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm#newcode52 ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm:52: _scopedWebStateListObserver->RemoveAll(); On 2017/06/12 09:48:07, sdefresne wrote: > I don't ...
3 years, 6 months ago (2017-06-13 08:18:53 UTC) #4
sdefresne
lgtm https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm File ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm (right): https://codereview.chromium.org/2936563002/diff/1/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm#newcode52 ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.mm:52: _scopedWebStateListObserver->RemoveAll(); On 2017/06/13 08:18:53, marq (ping after 24h) ...
3 years, 6 months ago (2017-06-13 09:00:27 UTC) #5
marq (ping after 24h)
Restore observer reset.
3 years, 6 months ago (2017-06-13 11:59:37 UTC) #6
sdefresne
lgtm
3 years, 6 months ago (2017-06-15 13:48:19 UTC) #7
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/2936563002/20001
3 years, 6 months ago (2017-06-15 13:48:57 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 13:59:15 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/067285ecc6e5d1cc8fb160462747...

Powered by Google App Engine
This is Rietveld 408576698