diff options
Diffstat (limited to 'overrides/webrtc')
-rw-r--r-- | overrides/webrtc/base/logging.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/overrides/webrtc/base/logging.cc b/overrides/webrtc/base/logging.cc index 2e43c501..f0c79106 100644 --- a/overrides/webrtc/base/logging.cc +++ b/overrides/webrtc/base/logging.cc @@ -288,8 +288,9 @@ void InitDiagnosticLoggingDelegateFunction( // Ensure that this function is always called from the same thread. base::subtle::NoBarrier_CompareAndSwap(&g_init_logging_delegate_thread_id, 0, static_cast<base::subtle::Atomic32>(base::PlatformThread::CurrentId())); - DCHECK_EQ(g_init_logging_delegate_thread_id, - base::PlatformThread::CurrentId()); + DCHECK_EQ( + g_init_logging_delegate_thread_id, + static_cast<base::subtle::Atomic32>(base::PlatformThread::CurrentId())); #endif CHECK(delegate); // This function may be called with the same argument several times if the |