зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1148102: P1. Mark WebMBufferedParser refcounting as thread-safe. r=kinetik
This is required should we use WebMBufferedParser in a MediaTaskQueue as we don't know which actual thread will actually be used.
This commit is contained in:
Родитель
9abbdbd8e5
Коммит
8dc9090482
|
@ -221,7 +221,7 @@ private:
|
||||||
|
|
||||||
class WebMBufferedState final
|
class WebMBufferedState final
|
||||||
{
|
{
|
||||||
NS_INLINE_DECL_REFCOUNTING(WebMBufferedState)
|
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(WebMBufferedState)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WebMBufferedState() : mReentrantMonitor("WebMBufferedState") {
|
WebMBufferedState() : mReentrantMonitor("WebMBufferedState") {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче