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

Unified Diff: chromeos/network/network_profile_handler.h

Issue 1562593002: Fix potential crashes in NetworkHandler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test
Patch Set: Use NetworkStateHanlerObserver::IsShuttingDown instead Created 4 years, 11 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: chromeos/network/network_profile_handler.h
diff --git a/chromeos/network/network_profile_handler.h b/chromeos/network/network_profile_handler.h
index 5015dd27ea6bbc0ca9ab06e0ac62eb0abb4539d4..f7c70c755a56d0d76a56c52c692419e4fa8d2c7c 100644
--- a/chromeos/network/network_profile_handler.h
+++ b/chromeos/network/network_profile_handler.h
@@ -81,7 +81,7 @@ class CHROMEOS_EXPORT NetworkProfileHandler
// properties are retrieved and the path is still in this set, a new profile
// object is created.
std::set<std::string> pending_profile_creations_;
- base::ObserverList<NetworkProfileObserver> observers_;
+ base::ObserverList<NetworkProfileObserver, true> observers_;
// For Shill client callbacks
base::WeakPtrFactory<NetworkProfileHandler> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698