| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "chrome_elf/ntdll_cache.h" |
| 8 |
| 7 BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { | 9 BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { |
| 10 if (reason == DLL_PROCESS_ATTACH) |
| 11 InitCache(); |
| 12 |
| 8 return TRUE; | 13 return TRUE; |
| 9 } | 14 } |
| OLD | NEW |