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: extensions/browser/extension_function_dispatcher.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again 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: extensions/browser/extension_function_dispatcher.cc
diff --git a/extensions/browser/extension_function_dispatcher.cc b/extensions/browser/extension_function_dispatcher.cc
index 3d7dff5419f39461c2456c747402210963b7516a..97befcd8ba860426b337a602162224a1e602501e 100644
--- a/extensions/browser/extension_function_dispatcher.cc
+++ b/extensions/browser/extension_function_dispatcher.cc
@@ -76,7 +76,8 @@ struct Static {
Static() : api(ExtensionAPI::CreateWithDefaultConfiguration()) {}
std::unique_ptr<ExtensionAPI> api;
};
-base::LazyInstance<Static> g_global_io_data = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<Static>::DestructorAtExit g_global_io_data =
+ LAZY_INSTANCE_INITIALIZER;
void CommonResponseCallback(IPC::Sender* ipc_sender,
int routing_id,
« no previous file with comments | « extensions/browser/extension_api_frame_id_map.h ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698