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

Unified Diff: chrome_frame/crash_reporting/crash_metrics.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_frame/crash_reporting/crash_metrics.cc
diff --git a/chrome_frame/crash_reporting/crash_metrics.cc b/chrome_frame/crash_reporting/crash_metrics.cc
index 8a103f1e6537bc818ed3bf166e6428d1234f65ad..fb59aa8fc1d886fc53c1b669cc3cad8a146bda6f 100644
--- a/chrome_frame/crash_reporting/crash_metrics.cc
+++ b/chrome_frame/crash_reporting/crash_metrics.cc
@@ -12,7 +12,7 @@ static const wchar_t kChromeFrameMetricsKey[] =
L"Software\\Google\\ChromeFrameMetrics";
base::LazyInstance<CrashMetricsReporter>
- g_crash_metrics_instance_(base::LINKER_INITIALIZED);
+ g_crash_metrics_instance_ = LAZY_INSTANCE_INITIALIZER;
wchar_t* CrashMetricsReporter::g_metric_names[LAST_METRIC] = {
L"navigationcount",

Powered by Google App Engine
This is Rietveld 408576698