Changeset 226951 in webkit
- Timestamp:
- Jan 15, 2018 9:54:00 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r226948 r226951 1 2018-01-15 Youenn Fablet <youenn@apple.com> 2 3 RealtimeMediaSource should be ThreadSafeRefCounted 4 https://bugs.webkit.org/show_bug.cgi?id=181649 5 6 Reviewed by Eric Carlson. 7 8 Difficult to write a test as this is really racy. 9 RealtimeIncomingVideoSourceCocoa::OnFrame is taking a reference on a background thread 10 to send a task to the main thread. 11 This requires it to be thread safe ref counted. 12 13 * platform/mediastream/RealtimeMediaSource.h: 14 1 15 2018-01-15 Philippe Normand <pnormand@igalia.com> 2 16 -
trunk/Source/WebCore/platform/mediastream/RealtimeMediaSource.h
r225395 r226951 42 42 #include "PlatformLayer.h" 43 43 #include "RealtimeMediaSourceCapabilities.h" 44 #include <wtf/ RefCounted.h>44 #include <wtf/ThreadSafeRefCounted.h> 45 45 #include <wtf/Vector.h> 46 46 #include <wtf/WeakPtr.h> … … 63 63 struct CaptureSourceOrError; 64 64 65 class WEBCORE_EXPORT RealtimeMediaSource : public RefCounted<RealtimeMediaSource> {65 class WEBCORE_EXPORT RealtimeMediaSource : public ThreadSafeRefCounted<RealtimeMediaSource> { 66 66 public: 67 67 class Observer {
Note: See TracChangeset
for help on using the changeset viewer.