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

Unified Diff: third_party/crashpad/crashpad/util/thread/thread_win.cc

Issue 2710663006: Update Crashpad to 4a2043ea65e2641ef1a921801c0aaa15ada02fc7 (Closed)
Patch Set: Update Crashpad to 4a2043ea65e2 Created 3 years, 10 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
Index: third_party/crashpad/crashpad/util/thread/thread_win.cc
diff --git a/third_party/crashpad/crashpad/util/thread/thread_win.cc b/third_party/crashpad/crashpad/util/thread/thread_win.cc
index c4ac1eb784d1f80bfcb066987a934c0c6df0eb67..466dfa9b94ca0b49478851d5613dba40ec0aeb22 100644
--- a/third_party/crashpad/crashpad/util/thread/thread_win.cc
+++ b/third_party/crashpad/crashpad/util/thread/thread_win.cc
@@ -22,13 +22,13 @@ void Thread::Start() {
DCHECK(!platform_thread_);
platform_thread_ =
CreateThread(nullptr, 0, ThreadEntryThunk, this, 0, nullptr);
- PCHECK(platform_thread_);
+ PCHECK(platform_thread_) << "CreateThread";
}
void Thread::Join() {
DCHECK(platform_thread_);
DWORD result = WaitForSingleObject(platform_thread_, INFINITE);
- PCHECK(WAIT_OBJECT_0 == result);
+ PCHECK(result == WAIT_OBJECT_0) << "WaitForSingleObject";
platform_thread_ = 0;
}
« no previous file with comments | « third_party/crashpad/crashpad/util/thread/thread_posix.cc ('k') | third_party/crashpad/crashpad/util/util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698