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

Unified Diff: chrome/browser/chromeos/login/ownership_service.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thakis comment, renamed LAZY_INSTANCE_INITIALIZER 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/browser/chromeos/login/ownership_service.cc
diff --git a/chrome/browser/chromeos/login/ownership_service.cc b/chrome/browser/chromeos/login/ownership_service.cc
index 539aa625431827262e87d61720690cfa31b40cb5..ffdcf571ed728889d3c23613075cdd89b7334e6a 100644
--- a/chrome/browser/chromeos/login/ownership_service.cc
+++ b/chrome/browser/chromeos/login/ownership_service.cc
@@ -19,8 +19,8 @@ using content::BrowserThread;
namespace chromeos {
-static base::LazyInstance<OwnershipService> g_ownership_service(
- base::LINKER_INITIALIZED);
+static base::LazyInstance<OwnershipService> g_ownership_service =
+ LAZY_INSTANCE_INITIALIZER;
// static
OwnershipService* OwnershipService::GetSharedInstance() {

Powered by Google App Engine
This is Rietveld 408576698