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

Unified Diff: chrome/browser/internal_auth.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/browser/external_tab_container_win.cc ('k') | chrome/browser/plugin_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/internal_auth.cc
diff --git a/chrome/browser/internal_auth.cc b/chrome/browser/internal_auth.cc
index 0730661e26ee1d7003ab9d4ceb874689e63401f6..cd7216e2948c0271247c41efd71cc53ca2b2bf4f 100644
--- a/chrome/browser/internal_auth.cc
+++ b/chrome/browser/internal_auth.cc
@@ -325,10 +325,10 @@ class InternalAuthVerificationService {
namespace {
static base::LazyInstance<browser::InternalAuthVerificationService>
- g_verification_service(base::LINKER_INITIALIZED);
+ g_verification_service = LAZY_INSTANCE_INITIALIZER;
static base::LazyInstance<base::Lock,
base::LeakyLazyInstanceTraits<base::Lock> >
- g_verification_service_lock(base::LINKER_INITIALIZED);
+ g_verification_service_lock = LAZY_INSTANCE_INITIALIZER;
} // namespace
@@ -433,7 +433,7 @@ class InternalAuthGenerationService : public base::ThreadChecker {
namespace {
static base::LazyInstance<browser::InternalAuthGenerationService>
- g_generation_service(base::LINKER_INITIALIZED);
+ g_generation_service = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/plugin_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698