Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus

This commit is contained in:
Ehsan Akhgari
2014-08-05 09:20:24 -04:00
parent f569a68313
commit cae4fa66a8
64 changed files with 102 additions and 102 deletions

View File

@@ -728,7 +728,7 @@ HttpChannelChild::DoNotifyListenerCleanup()
class DeleteSelfEvent : public ChannelEvent
{
public:
DeleteSelfEvent(HttpChannelChild* child) : mChild(child) {}
explicit DeleteSelfEvent(HttpChannelChild* child) : mChild(child) {}
void Run() { mChild->DeleteSelf(); }
private:
HttpChannelChild* mChild;
@@ -852,7 +852,7 @@ HttpChannelChild::Redirect1Begin(const uint32_t& newChannelId,
class Redirect3Event : public ChannelEvent
{
public:
Redirect3Event(HttpChannelChild* child) : mChild(child) {}
explicit Redirect3Event(HttpChannelChild* child) : mChild(child) {}
void Run() { mChild->Redirect3Complete(); }
private:
HttpChannelChild* mChild;
@@ -872,7 +872,7 @@ HttpChannelChild::RecvRedirect3Complete()
class HttpFlushedForDiversionEvent : public ChannelEvent
{
public:
HttpFlushedForDiversionEvent(HttpChannelChild* aChild)
explicit HttpFlushedForDiversionEvent(HttpChannelChild* aChild)
: mChild(aChild)
{
MOZ_RELEASE_ASSERT(aChild);