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

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: 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_frame/com_type_info_holder.cc ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « chrome_frame/com_type_info_holder.cc ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698