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

Unified Diff: components/reading_list/core/reading_list_model_impl.cc

Issue 2863303002: Fixes a DCHECK in tools_menu_button_observer_bridge during tests (Closed)
Patch Set: delete unnecessary implementation of Shutdown() Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/reading_list/core/reading_list_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/reading_list/core/reading_list_model_impl.cc
diff --git a/components/reading_list/core/reading_list_model_impl.cc b/components/reading_list/core/reading_list_model_impl.cc
index d1ed193f0b5534f8bfaaf070f9ccf966ac2886bf..92713dbd2cf2b71de76b28d9d45c570cf7b33788 100644
--- a/components/reading_list/core/reading_list_model_impl.cc
+++ b/components/reading_list/core/reading_list_model_impl.cc
@@ -57,7 +57,7 @@ void ReadingListModelImpl::StoreLoaded(
void ReadingListModelImpl::Shutdown() {
DCHECK(CalledOnValidThread());
for (auto& observer : observers_)
- observer.ReadingListModelBeingDeleted(this);
+ observer.ReadingListModelBeingShutdown(this);
loaded_ = false;
}
« no previous file with comments | « no previous file | components/reading_list/core/reading_list_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698