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 945ab7721a002879e867adf1099c48b166a8d48e..c256e967a3bbe2a390c3c15cbf2906e84ecf6d0e 100644 |
--- a/chrome/browser/chromeos/login/ownership_service.cc |
+++ b/chrome/browser/chromeos/login/ownership_service.cc |
@@ -6,13 +6,17 @@ |
#include "base/file_path.h" |
#include "base/file_util.h" |
+#include "base/lazy_instance.h" |
#include "chrome/browser/browser_thread.h" |
namespace chromeos { |
+static base::LazyInstance<OwnershipService> g_ownership_service( |
+ base::LINKER_INITIALIZED); |
+ |
// static |
OwnershipService* OwnershipService::GetSharedInstance() { |
- return Singleton<OwnershipService>::get(); |
+ return g_ownership_service.Pointer(); |
} |
OwnershipService::OwnershipService() |