Update rw_lock_win.cc to use LS_LOG rather than WEBRTC_TRACE.

Bug: webrtc:5118
Change-Id: I034b839dd20e0840c1dd090af7c97e9713634638
Reviewed-on: https://webrtc-review.googlesource.com/5364
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Henrik Grunell <henrikg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20099}
This commit is contained in:
Niels Möller 2017-10-02 13:48:55 +02:00 committed by Commit Bot
parent 88676bf9ae
commit 5d41bde560

View File

@ -10,7 +10,7 @@
#include "system_wrappers/source/rw_lock_win.h"
#include "system_wrappers/include/trace.h"
#include "rtc_base/logging.h"
namespace webrtc {
@ -69,7 +69,7 @@ bool RWLockWin::LoadModule() {
if (!library) {
return false;
}
WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, -1, "Loaded Kernel.dll");
LOG(LS_VERBOSE) << "Loaded Kernel.dll";
initialize_srw_lock =
(InitializeSRWLock)GetProcAddress(library, "InitializeSRWLock");
@ -88,7 +88,7 @@ bool RWLockWin::LoadModule() {
if (initialize_srw_lock && acquire_srw_lock_exclusive &&
release_srw_lock_exclusive && acquire_srw_lock_shared &&
release_srw_lock_shared) {
WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, -1, "Loaded Native RW Lock");
LOG(LS_VERBOSE) << "Loaded Native RW Lock";
native_rw_locks_supported = true;
}
return native_rw_locks_supported;