Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: snapshot/win/process_reader_win.h

Issue 983103004: win: fixes for Windows x64 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/minidump/process_snapshot_minidump_test.cc ('k') | snapshot/win/process_reader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « snapshot/minidump/process_snapshot_minidump_test.cc ('k') | snapshot/win/process_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698