Index: chrome/browser/ui/app_list/app_list_service.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service.cc b/chrome/browser/ui/app_list/app_list_service.cc |
index 8120aaeedad289c2d2175477d4d3a4f24bf0d326..5a5f9331883747652241c54aef9f6ea7f6732558 100644 |
--- a/chrome/browser/ui/app_list/app_list_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_service.cc |
@@ -47,11 +47,12 @@ void AppListService::RecordShowTimings(const CommandLine& command_line) { |
else |
UMA_HISTOGRAM_LONG_TIMES("Startup.ShowAppListWarmStart", elapsed); |
} else { |
- // base::CurrentProcessInfo::CreationTime() is only defined on win/mac. |
-#if defined(OS_WIN) || defined(OS_MACOSX) |
+ // base::CurrentProcessInfo::CreationTime() is only defined on some |
+ // platforms. |
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
UMA_HISTOGRAM_LONG_TIMES( |
"Startup.ShowAppListColdStart", |
- base::Time::Now() - *base::CurrentProcessInfo::CreationTime()); |
+ base::Time::Now() - base::CurrentProcessInfo::CreationTime()); |
#endif |
} |
} |