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

Unified Diff: webrtc/base/thread.cc

Issue 2667863003: crash with ASAN and libjingle in WebRTC thread (Closed)
Patch Set: Created 3 years, 11 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 | « webrtc/base/thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/thread.cc
diff --git a/webrtc/base/thread.cc b/webrtc/base/thread.cc
index b7d448656dc24ab420261655890cb0fef221da4a..3afb5f144c5a4651b2e1e5d9515b94fc543e4515 100644
--- a/webrtc/base/thread.cc
+++ b/webrtc/base/thread.cc
@@ -308,7 +308,7 @@ void Thread::AssertBlockingIsAllowedOnCurrentThread() {
#endif
}
-void* Thread::PreRun(void* pv) {
+void* THREAD_CALLING_CONV Thread::PreRun(void* pv) {
ThreadInit* init = static_cast<ThreadInit*>(pv);
ThreadManager::Instance()->SetCurrentThread(init->thread);
rtc::SetCurrentThreadName(init->thread->name_.c_str());
« no previous file with comments | « webrtc/base/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698