Index: snapshot/win/thread_snapshot_win.cc |
diff --git a/snapshot/win/thread_snapshot_win.cc b/snapshot/win/thread_snapshot_win.cc |
index 1026cfb9c2442f2461bf0ce69d7ef17375240711..7524e455bbffa977b9aca63d0f229524b86ef320 100644 |
--- a/snapshot/win/thread_snapshot_win.cc |
+++ b/snapshot/win/thread_snapshot_win.cc |
@@ -50,7 +50,11 @@ bool ThreadSnapshotWin::Initialize( |
context_.x86); |
} |
#else |
-#error ARCH_CPU_X86 |
+ context_.architecture = kCPUArchitectureX86; |
+ context_.x86 = &context_union_.x86; |
+ InitializeX86Context( |
+ *reinterpret_cast<const CONTEXT*>(&process_reader_thread.context), |
+ context_.x86); |
#endif // ARCH_CPU_X86_64 |
INITIALIZATION_STATE_SET_VALID(initialized_); |