Fix thread safety issue in AudioSampleDataSource() constructor
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Aug 2019 22:57:10 +0000 (22:57 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Aug 2019 22:57:10 +0000 (22:57 +0000)
commit3f794d7833b3100c8ab7b2c7a4d28537f53525d7
treedb00d70224859793271d32c5b7c9726ce0a97ce1
parentfac9b04d1b8ff409df3bd4f3cd74022bc2c019fe
Fix thread safety issue in AudioSampleDataSource() constructor
https://bugs.webkit.org/show_bug.cgi?id=200547

Reviewed by Alex Christensen.

Make Logger ThreadSafeRefCounted as it is ref'd / deref'd from various
threads (including the main thread and the WebKitWebRTCAudioModule thread).

* wtf/Logger.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Logger.h