Chromium Code Reviews| Index: chrome/app/chrome_exe_main_win.cc |
| diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc |
| index 22ec4bf4f40a6c8b4a9efa2e68ec11aef881fca3..75454db2418a66fb6edd03242756553eb952c9e5 100644 |
| --- a/chrome/app/chrome_exe_main_win.cc |
| +++ b/chrome/app/chrome_exe_main_win.cc |
| @@ -33,7 +33,6 @@ |
| #include "components/crash/content/app/crash_switches.h" |
| #include "components/crash/content/app/crashpad.h" |
| #include "components/crash/content/app/run_as_crashpad_handler_win.h" |
| -#include "components/startup_metric_utils/browser/startup_metric_utils.h" |
| #include "content/public/common/content_switches.h" |
| #include "content/public/common/result_codes.h" |
| @@ -225,7 +224,7 @@ int main() { |
| *base::CommandLine::ForCurrentProcess()); |
| } |
| - startup_metric_utils::RecordExeMainEntryPointTime(base::Time::Now()); |
| + const base::TimeTicks exe_entry_point_ticks = base::TimeTicks::Now(); |
|
brucedawson
2016/09/16 21:38:39
What was the reason for changing from Time to Time
grt (UTC plus 2)
2016/09/17 09:30:05
Oops. I thought it was the right thing to do, but
fdoray
2016/09/19 17:03:28
This is the right thing to do. We should use base:
|
| // Signal Chrome Elf that Chrome has begun to start. |
| SignalChromeElf(); |
| @@ -243,7 +242,7 @@ int main() { |
| // Load and launch the chrome dll. *Everything* happens inside. |
| VLOG(1) << "About to load main DLL."; |
| MainDllLoader* loader = MakeMainDllLoader(); |
| - int rc = loader->Launch(instance); |
| + int rc = loader->Launch(instance, exe_entry_point_ticks); |
| loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded(); |
| delete loader; |
| return rc; |