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

@@ -58,7 +58,8 @@ class TimerObserverRunnable : public Runnable
{
public:
explicit TimerObserverRunnable(nsIObserver* aObserver)
: mObserver(aObserver)
: mozilla::Runnable("TimerObserverRunnable")
, mObserver(aObserver)
{
}
@@ -147,7 +148,8 @@ public:
NS_IMETHOD GetName(nsACString& aName) override;
nsTimerEvent()
: mTimer()
: mozilla::CancelableRunnable("nsTimerEvent")
, mTimer()
, mGeneration(0)
{
// Note: We override operator new for this class, and the override is