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

Unified Diff: util/test/thread_win.cc

Issue 1022203002: Followup to https://codereview.chromium.org/1001673002/ (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fix Thread::Join in win 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 | « util/file/file_io_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/thread_win.cc
diff --git a/util/test/thread_win.cc b/util/test/thread_win.cc
index 797d9c23ccdfa438b4b512373a16e059bf0c5d67..1e277ebd7b1c51a6731a9fc2c2e6f87ddce04b30 100644
--- a/util/test/thread_win.cc
+++ b/util/test/thread_win.cc
@@ -28,7 +28,7 @@ void Thread::Start() {
}
void Thread::Join() {
- ASSERT_FALSE(platform_thread_);
+ ASSERT_TRUE(platform_thread_);
DWORD result = WaitForSingleObject(platform_thread_, INFINITE);
EXPECT_EQ(WAIT_OBJECT_0, result) << ErrorMessage("WaitForSingleObject");
platform_thread_ = 0;
« no previous file with comments | « util/file/file_io_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698