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

Unified Diff: components/sync/model_impl/model_type_store_backend.h

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 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/sync/model_impl/model_type_store_backend.h
diff --git a/components/sync/model_impl/model_type_store_backend.h b/components/sync/model_impl/model_type_store_backend.h
index d7887bce5ecd76e6dce913a1502205386b3ab89d..b185977b33a8d8353d15d631978af5b944d5a382 100644
--- a/components/sync/model_impl/model_type_store_backend.h
+++ b/components/sync/model_impl/model_type_store_backend.h
@@ -151,7 +151,7 @@ class ModelTypeStoreBackend
// GetOrCreateBackend will return scoped_refptr of backend. backend_map_
// doesn't take reference to backend, therefore doesn't block backend
// destruction.
- static base::LazyInstance<BackendMap> backend_map_;
+ static base::LazyInstance<BackendMap>::DestructorAtExit backend_map_;
// Macro wrapped mutex to guard against concurrent calls in debug builds.
DFAKE_MUTEX(push_pop_);

Powered by Google App Engine
This is Rietveld 408576698