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 #
Depends on Patchset: Messages
Total messages: 15 (8 generated)
|