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

Unified Diff: snapshot/win/system_snapshot_win_test.cc

Issue 1326443007: win: Fix incorrect thread suspend count due to ScopedProcessSuspend (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: assert some threads captured Created 5 years, 3 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/win/process_snapshot_win.cc ('k') | tools/generate_dump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/win/system_snapshot_win_test.cc
diff --git a/snapshot/win/system_snapshot_win_test.cc b/snapshot/win/system_snapshot_win_test.cc
index 7552ca5642b677f53ee440b38520ec272e358ceb..735b2f45ce45af30899b16210f594ea543388fc2 100644
--- a/snapshot/win/system_snapshot_win_test.cc
+++ b/snapshot/win/system_snapshot_win_test.cc
@@ -41,7 +41,8 @@ class SystemSnapshotWinTest : public testing::Test {
// testing::Test:
void SetUp() override {
- ASSERT_TRUE(process_reader_.Initialize(GetCurrentProcess()));
+ ASSERT_TRUE(process_reader_.Initialize(GetCurrentProcess(),
+ ProcessSuspensionState::kRunning));
system_snapshot_.Initialize(&process_reader_);
}
« no previous file with comments | « snapshot/win/process_snapshot_win.cc ('k') | tools/generate_dump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698