Index: snapshot/win/pe_image_reader_test.cc |
diff --git a/snapshot/win/pe_image_reader_test.cc b/snapshot/win/pe_image_reader_test.cc |
index 46795cfba18dcda9ad811230643823251ee12b83..704b6591351cb0ee9fded5cda19057b7470d142a 100644 |
--- a/snapshot/win/pe_image_reader_test.cc |
+++ b/snapshot/win/pe_image_reader_test.cc |
@@ -22,7 +22,7 @@ |
#include "gtest/gtest.h" |
#include "snapshot/win/process_reader_win.h" |
#include "test/errors.h" |
-#include "util/win/get_function.h" |
+#include "util/win/get_module_information.h" |
#include "util/win/module_version.h" |
#include "util/win/process_info.h" |
@@ -32,15 +32,6 @@ namespace crashpad { |
namespace test { |
namespace { |
-BOOL CrashpadGetModuleInformation(HANDLE process, |
- HMODULE module, |
- MODULEINFO* module_info, |
- DWORD cb) { |
- static const auto get_module_information = |
- GET_FUNCTION_REQUIRED(L"psapi.dll", ::GetModuleInformation); |
- return get_module_information(process, module, module_info, cb); |
-} |
- |
TEST(PEImageReader, DebugDirectory) { |
PEImageReader pe_image_reader; |
ProcessReaderWin process_reader; |