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

Issue 2844993003: [Home] Remove BottomSheetObservers that are no longer used (Closed)

Created:
3 years, 7 months ago by mdjones
Modified:
3 years, 7 months ago
Reviewers:
Theresa, dgn
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Home] Remove BottomSheetObservers that are no longer used Previously, all observers of the bottom sheet had a life cycle that matched the bottom sheet, so it wasn't necessary to remove the. The suggestions content, however, does have the potential to be destroyed. This change adds a removeObserver(...) method to the bottom sheet to handle this case. BUG=715979 Review-Url: https://codereview.chromium.org/2844993003 Cr-Commit-Position: refs/heads/master@{#468043} Committed: https://chromium.googlesource.com/chromium/src/+/305e5224d9e9b11a609e17ca11866be3a3622ad6

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java View 5 chunks +8 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java View 1 chunk +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (8 generated)
mdjones
ptal
3 years, 7 months ago (2017-04-27 17:18:48 UTC) #2
dgn
Hum when I filed the bug I thought there was at least an observer on ...
3 years, 7 months ago (2017-04-27 22:11:31 UTC) #4
Theresa
lgtm
3 years, 7 months ago (2017-04-28 00:44:50 UTC) #5
mdjones
+bauerb for owners
3 years, 7 months ago (2017-04-28 15:37:53 UTC) #7
mdjones
On 2017/04/28 15:37:53, mdjones wrote: > +bauerb for owners dgn@ is an owner, removing bauerb@
3 years, 7 months ago (2017-04-28 15:41:48 UTC) #8
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/2844993003/1
3 years, 7 months ago (2017-04-28 15:42:52 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 17:27:29 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/305e5224d9e9b11a609e17ca1186...

Powered by Google App Engine
This is Rietveld 408576698