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

Unified Diff: third_party/leveldatabase/env_chromium.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 | « remoting/host/plugin/host_log_handler.cc ('k') | ui/base/l10n/l10n_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_chromium.cc
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
index 7cca909b206723557b0b5fbafd03f5f5fa412507..9fd2c61bb0a97e9a26f870dff8106c6601d451cd 100644
--- a/third_party/leveldatabase/env_chromium.cc
+++ b/third_party/leveldatabase/env_chromium.cc
@@ -546,7 +546,7 @@ void ChromiumEnv::StartThread(void (*function)(void* arg), void* arg) {
}
::base::LazyInstance<ChromiumEnv, ::base::LeakyLazyInstanceTraits<ChromiumEnv> >
- default_env(::base::LINKER_INITIALIZED);
+ default_env = LAZY_INSTANCE_INITIALIZER;
}
« no previous file with comments | « remoting/host/plugin/host_log_handler.cc ('k') | ui/base/l10n/l10n_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698