Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index bdab589108971e448cbdd9053a0420ed28be536e..c3314f55b0dc51fde6c1f630a9ff36db4adbab7b 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -340,7 +340,12 @@ struct MainFunction { |
} // namespace |
ChromeMainDelegate::ChromeMainDelegate() { |
+// On Android the main entry point time is when the Java code starts, not here. |
+// We have recorded that, but can't fetch it from the Java side until we have |
+// initialized the JNI. See ChromeMainDelegateAndroid. |
+#if !defined(OS_ANDROID) |
startup_metric_utils::RecordMainEntryPointTime(); |
+#endif |
jeremy
2013/08/27 19:18:51
I think this would be a bit clearer as:
#if !defi
aberent
2013/08/28 15:53:05
Done.
|
} |
ChromeMainDelegate::~ChromeMainDelegate() { |