Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)

MozReview-Commit-ID: DKR6ROiHRS7
This commit is contained in:
Bill McCloskey
2017-06-12 12:34:10 -07:00
parent 0dc804e305
commit f69608368b
613 changed files with 6338 additions and 3568 deletions

View File

@@ -299,10 +299,11 @@ nsOfflineCacheEvictionFunction::Apply()
class nsOfflineCacheDiscardCache : public Runnable
{
public:
nsOfflineCacheDiscardCache(nsOfflineCacheDevice *device,
nsCString &group,
nsCString &clientID)
: mDevice(device)
nsOfflineCacheDiscardCache(nsOfflineCacheDevice* device,
nsCString& group,
nsCString& clientID)
: mozilla::Runnable("nsOfflineCacheDiscardCache")
, mDevice(device)
, mGroup(group)
, mClientID(clientID)
{
@@ -920,7 +921,8 @@ nsApplicationCache::GetUsage(uint32_t *usage)
class nsCloseDBEvent : public Runnable {
public:
explicit nsCloseDBEvent(mozIStorageConnection *aDB)
explicit nsCloseDBEvent(mozIStorageConnection* aDB)
: mozilla::Runnable("nsCloseDBEvent")
{
mDB = aDB;
}