diff options
Diffstat (limited to 'chromium/chrome_elf/chrome_redirects_main.cc')
-rw-r--r-- | chromium/chrome_elf/chrome_redirects_main.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/chrome_elf/chrome_redirects_main.cc b/chromium/chrome_elf/chrome_redirects_main.cc new file mode 100644 index 00000000000..960d07c8806 --- /dev/null +++ b/chromium/chrome_elf/chrome_redirects_main.cc @@ -0,0 +1,14 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include <windows.h> + +#include "chrome_elf/ntdll_cache.h" + +BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { + if (reason == DLL_PROCESS_ATTACH) + InitCache(); + + return TRUE; +} |