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

Unified Diff: snapshot/win/pe_image_annotations_reader_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/exception_snapshot_win_test.cc ('k') | snapshot/win/pe_image_reader_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/win/pe_image_annotations_reader_test.cc
diff --git a/snapshot/win/pe_image_annotations_reader_test.cc b/snapshot/win/pe_image_annotations_reader_test.cc
index 383ada99e01fddf69e54796f713492d01441d88f..2c88417d0a49dd8e53c36f0fff3451aa0569748e 100644
--- a/snapshot/win/pe_image_annotations_reader_test.cc
+++ b/snapshot/win/pe_image_annotations_reader_test.cc
@@ -55,7 +55,8 @@ class TestPEImageAnnotationsReader final : public WinMultiprocess {
void WinMultiprocessParent() override {
ProcessReaderWin process_reader;
- ASSERT_TRUE(process_reader.Initialize(ChildProcess()));
+ ASSERT_TRUE(process_reader.Initialize(ChildProcess(),
+ ProcessSuspensionState::kRunning));
// Wait for the child process to indicate that it's done setting up its
// annotations via the CrashpadInfo interface.
« no previous file with comments | « snapshot/win/exception_snapshot_win_test.cc ('k') | snapshot/win/pe_image_reader_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698