Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED TREE

This commit is contained in:
Andrea Marchesini 2015-01-14 12:40:19 +00:00
Родитель 01abbeba5d
Коммит 07e6e99ea8
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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)
{