summaryrefslogtreecommitdiffstats
path: root/components/startup_metric_utils
diff options
context:
space:
mode:
Diffstat (limited to 'components/startup_metric_utils')
-rw-r--r--components/startup_metric_utils/startup_metric_utils.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/startup_metric_utils/startup_metric_utils.cc b/components/startup_metric_utils/startup_metric_utils.cc
index beb41cd..5f60e95 100644
--- a/components/startup_metric_utils/startup_metric_utils.cc
+++ b/components/startup_metric_utils/startup_metric_utils.cc
@@ -149,7 +149,8 @@ void OnBrowserStartupComplete(bool is_first_run) {
// CurrentProcessInfo::CreationTime() is currently only implemented on some
// platforms.
-#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX)
+#if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN) || \
+ defined(OS_LINUX)
// Record timings between process creation, the main() in the executable being
// reached and the main() in the shared library being reached.
scoped_ptr<base::Environment> env(base::Environment::Create());