Index: snapshot/win/module_snapshot_win.cc |
diff --git a/snapshot/win/module_snapshot_win.cc b/snapshot/win/module_snapshot_win.cc |
index 49478880f8432fa7c194c824bce3482100ff4f9a..0553f35b1affb55be510ecfed54f785c20158aa8 100644 |
--- a/snapshot/win/module_snapshot_win.cc |
+++ b/snapshot/win/module_snapshot_win.cc |
@@ -19,7 +19,6 @@ |
#include "snapshot/win/pe_image_reader.h" |
#include "util/misc/tri_state.h" |
#include "util/misc/uuid.h" |
-#include "util/win/module_version.h" |
namespace crashpad { |
namespace internal { |
@@ -210,7 +209,7 @@ const VS_FIXEDFILEINFO* ModuleSnapshotWin::VSFixedFileInfo() const { |
if (initialized_vs_fixed_file_info_.is_uninitialized()) { |
initialized_vs_fixed_file_info_.set_invalid(); |
- if (GetModuleVersionAndType(base::FilePath(name_), &vs_fixed_file_info_)) { |
+ if (pe_image_reader_->VSFixedFileInfo(&vs_fixed_file_info_)) { |
initialized_vs_fixed_file_info_.set_valid(); |
} |
} |