зеркало из https://github.com/mozilla/gecko-dev.git
Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED TREE
This commit is contained in:
Родитель
01abbeba5d
Коммит
07e6e99ea8
|
@ -241,7 +241,7 @@ class CloseRunnable MOZ_FINAL : public nsICancelableRunnable
|
|||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
CloseRunnable(BroadcastChannel* aBC)
|
||||
explicit CloseRunnable(BroadcastChannel* aBC)
|
||||
: mBC(aBC)
|
||||
{
|
||||
MOZ_ASSERT(mBC);
|
||||
|
@ -272,7 +272,7 @@ class TeardownRunnable MOZ_FINAL : public nsICancelableRunnable
|
|||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
TeardownRunnable(BroadcastChannelChild* aActor)
|
||||
explicit TeardownRunnable(BroadcastChannelChild* aActor)
|
||||
: mActor(aActor)
|
||||
{
|
||||
MOZ_ASSERT(mActor);
|
||||
|
@ -306,7 +306,7 @@ class BroadcastChannelFeature : public workers::WorkerFeature
|
|||
BroadcastChannel* mChannel;
|
||||
|
||||
public:
|
||||
BroadcastChannelFeature(BroadcastChannel* aChannel)
|
||||
explicit BroadcastChannelFeature(BroadcastChannel* aChannel)
|
||||
: mChannel(aChannel)
|
||||
{
|
||||
MOZ_ASSERT(aChannel);
|
||||
|
@ -354,7 +354,7 @@ class CheckPermissionRunnable MOZ_FINAL
|
|||
public:
|
||||
bool mResult;
|
||||
|
||||
CheckPermissionRunnable(workers::WorkerPrivate* aWorkerPrivate)
|
||||
explicit CheckPermissionRunnable(workers::WorkerPrivate* aWorkerPrivate)
|
||||
: workers::WorkerMainThreadRunnable(aWorkerPrivate)
|
||||
, mResult(false)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче