Index: snapshot/win/process_reader_win.h |
diff --git a/snapshot/win/process_reader_win.h b/snapshot/win/process_reader_win.h |
index 58a06815e4a284fe7a3327ad78169e604663a44b..1e079f0f7f98905271641efea95c2e25d9db94b7 100644 |
--- a/snapshot/win/process_reader_win.h |
+++ b/snapshot/win/process_reader_win.h |
@@ -18,6 +18,7 @@ |
#include <windows.h> |
#include "util/misc/initialization_state_dcheck.h" |
+#include "util/win/process_info.h" |
namespace crashpad { |
@@ -39,10 +40,10 @@ class ProcessReaderWin { |
bool Initialize(HANDLE process); |
//! \return `true` if the target task is a 64-bit process. |
- bool Is64Bit() const { return is_64_bit_; } |
+ bool Is64Bit() const { return process_info_.Is64Bit(); } |
private: |
- bool is_64_bit_; |
+ ProcessInfo process_info_; |
InitializationStateDcheck initialized_; |
DISALLOW_COPY_AND_ASSIGN(ProcessReaderWin); |