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

Unified Diff: chrome/default_plugin/install_dialog.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix CrOS Created 9 years, 1 month 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: chrome/default_plugin/install_dialog.cc
diff --git a/chrome/default_plugin/install_dialog.cc b/chrome/default_plugin/install_dialog.cc
index 6462387e91a424fc8258ed41d52e7cce547c06a9..87bdff9d6d68f439a5a15f7f9594cecca4c5d93a 100644
--- a/chrome/default_plugin/install_dialog.cc
+++ b/chrome/default_plugin/install_dialog.cc
@@ -14,7 +14,7 @@
#include "webkit/glue/webkit_glue.h"
typedef base::hash_map<const std::wstring, PluginInstallDialog*> DialogMap;
-base::LazyInstance<DialogMap> s_dialogs(base::LINKER_INITIALIZED);
+base::LazyInstance<DialogMap> s_dialogs = LINKER_ZERO_INITIALIZED;
PluginInstallDialog* PluginInstallDialog::AddInstaller(
PluginInstallerImpl* plugin_impl, const std::wstring& plugin_name) {

Powered by Google App Engine
This is Rietveld 408576698