зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1258144: warnings-as-errors bustage r=cpearce
MozReview-Commit-ID: 6CIkX6F6cl2
This commit is contained in:
Родитель
d990461ce1
Коммит
3fd01980f6
|
@ -7,6 +7,7 @@
|
|||
#include "mozilla/dom/AudioContext.h"
|
||||
#include "mozilla/SharedThreadPool.h"
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/unused.h"
|
||||
#include "CubebUtils.h"
|
||||
|
||||
#ifdef MOZ_WEBRTC
|
||||
|
@ -227,7 +228,7 @@ void
|
|||
ThreadedDriver::Start()
|
||||
{
|
||||
LIFECYCLE_LOG("Starting thread for a SystemClockDriver %p\n", mGraphImpl);
|
||||
NS_WARN_IF(mThread);
|
||||
Unused << NS_WARN_IF(mThread);
|
||||
if (!mThread) { // Ensure we haven't already started it
|
||||
nsCOMPtr<nsIRunnable> event = new MediaStreamGraphInitThreadRunnable(this);
|
||||
// Note: mThread may be null during event->Run() if we pass to NewNamedThread! See AudioInitTask
|
||||
|
|
Загрузка…
Ссылка в новой задаче