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..016b48e6f8d049c51cb80e9948b38adbe1a02207 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" |
@@ -108,6 +109,10 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { |
if (AttemptFastNotify(*CommandLine::ForCurrentProcess())) |
return 0; |
+ // The purpose of this call is to force the addition of an entry in the IAT |
+ // for chrome_elf.dll to force a load time dependency. |
+ InitChromeElf(); |
+ |
MetroDriver metro_driver; |
if (metro_driver.in_metro_mode()) |
return metro_driver.RunInMetro(instance, &RunChrome); |