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

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: willchan comments + rebase 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
« no previous file with comments | « chrome/common/time_format.cc ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0ae91cf558846a5b72b40b570c806a33219204a7 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 = LAZY_INSTANCE_INITIALIZER;
PluginInstallDialog* PluginInstallDialog::AddInstaller(
PluginInstallerImpl* plugin_impl, const std::wstring& plugin_name) {
« no previous file with comments | « chrome/common/time_format.cc ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698