Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
This commit is contained in:
6
netwerk/cache/nsCacheService.cpp
vendored
6
netwerk/cache/nsCacheService.cpp
vendored
@@ -227,7 +227,7 @@ NS_IMPL_ISUPPORTS(nsSetDiskSmartSizeCallback, nsITimerCallback)
|
||||
class nsSetSmartSizeEvent: public nsRunnable
|
||||
{
|
||||
public:
|
||||
nsSetSmartSizeEvent(int32_t smartSize)
|
||||
explicit nsSetSmartSizeEvent(int32_t smartSize)
|
||||
: mSmartSize(smartSize) {}
|
||||
|
||||
NS_IMETHOD Run()
|
||||
@@ -974,7 +974,7 @@ nsCacheProfilePrefObserver::CacheCompressionLevel()
|
||||
|
||||
class nsProcessRequestEvent : public nsRunnable {
|
||||
public:
|
||||
nsProcessRequestEvent(nsCacheRequest *aRequest)
|
||||
explicit nsProcessRequestEvent(nsCacheRequest *aRequest)
|
||||
{
|
||||
MOZ_EVENT_TRACER_NAME_OBJECT(aRequest, aRequest->mKey.get());
|
||||
MOZ_EVENT_TRACER_WAIT(aRequest, "net::cache::ProcessRequest");
|
||||
@@ -1347,7 +1347,7 @@ namespace {
|
||||
class EvictionNotifierRunnable : public nsRunnable
|
||||
{
|
||||
public:
|
||||
EvictionNotifierRunnable(nsISupports* aSubject)
|
||||
explicit EvictionNotifierRunnable(nsISupports* aSubject)
|
||||
: mSubject(aSubject)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user