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

Unified Diff: base/sys_info_chromeos.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 | « base/rand_util_posix.cc ('k') | base/third_party/dmg_fp/dtoa_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_chromeos.cc
diff --git a/base/sys_info_chromeos.cc b/base/sys_info_chromeos.cc
index 1ada002d3e837a9d1e51a95c678e6417c6857351..f1c6664fabd4edb8a72dd3498eeb53ae939ceac2 100644
--- a/base/sys_info_chromeos.cc
+++ b/base/sys_info_chromeos.cc
@@ -40,7 +40,7 @@ struct ChromeOSVersionNumbers {
};
static base::LazyInstance<ChromeOSVersionNumbers>
- g_chrome_os_version_numbers(base::LINKER_INITIALIZED);
+ g_chrome_os_version_numbers = LAZY_INSTANCE_INITIALIZER;
// static
void SysInfo::OperatingSystemVersionNumbers(int32* major_version,
« no previous file with comments | « base/rand_util_posix.cc ('k') | base/third_party/dmg_fp/dtoa_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698