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 ecbb599923aed74e5aaef337cac2311f7a145b73..0dd3045bf4d4be753533b46a5948ca188f8c2286 100644 |
| --- a/chrome/app/chrome_exe_main_win.cc |
| +++ b/chrome/app/chrome_exe_main_win.cc |
| @@ -18,6 +18,7 @@ |
| #include "chrome/browser/policy/policy_path_parser.h" |
| #include "chrome/common/chrome_paths_internal.h" |
| #include "chrome/common/chrome_switches.h" |
| +#include "chrome_elf/chrome_elf_main.h" |
| #include "components/breakpad/app/breakpad_client.h" |
| #include "components/breakpad/app/breakpad_win.h" |
| #include "content/public/app/startup_helper_win.h" |
| @@ -105,6 +106,11 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { |
| // The exit manager is in charge of calling the dtors of singletons. |
| base::AtExitManager exit_manager; |
| + |
| + // The purpose of this call is to force the addition of an entry in the IAT |
| + // for chrome_elf.dll to force the load time dependency. |
|
gab
2013/11/12 18:24:10
s/the load time.../a load time...
Please also add
|
| + InitChromeElf(); |
|
gab
2013/11/12 18:24:10
Why move this back before AttemptFastNotify()?
|
| + |
| if (AttemptFastNotify(*CommandLine::ForCurrentProcess())) |
| return 0; |