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

Unified Diff: components/offline_pages/downloads/download_ui_adapter.h

Issue 2264233002: Fix a crash in DownloadUIAddapter that happens when Java bridge is created/removed quickly while (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: components/offline_pages/downloads/download_ui_adapter.h
diff --git a/components/offline_pages/downloads/download_ui_adapter.h b/components/offline_pages/downloads/download_ui_adapter.h
index 937799b697d314a2269818b0d734d0ccddfef043..9e15e3d43d3172bfcc778f60cbe20a4305b291c3 100644
--- a/components/offline_pages/downloads/download_ui_adapter.h
+++ b/components/offline_pages/downloads/download_ui_adapter.h
@@ -117,6 +117,7 @@ class DownloadUIAdapter : public OfflinePageModel::Observer,
// The observers.
base::ObserverList<Observer> observers_;
+ int observers_count_;
base::WeakPtrFactory<DownloadUIAdapter> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698