Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
This commit is contained in:
@@ -564,7 +564,8 @@ public:
|
||||
const nsACString& aGUID,
|
||||
bool aHidden,
|
||||
PRTime aLastVisitDate)
|
||||
: mSpec(aSpec)
|
||||
: mozilla::Runnable("FrecencyNotification")
|
||||
, mSpec(aSpec)
|
||||
, mNewFrecency(aNewFrecency)
|
||||
, mGUID(aGUID)
|
||||
, mHidden(aHidden)
|
||||
@@ -675,9 +676,11 @@ nsNavHistory::GetNow()
|
||||
if (!mExpireNowTimer)
|
||||
mExpireNowTimer = do_CreateInstance("@mozilla.org/timer;1");
|
||||
if (mExpireNowTimer)
|
||||
mExpireNowTimer->InitWithFuncCallback(expireNowTimerCallback, this,
|
||||
RENEW_CACHED_NOW_TIMEOUT,
|
||||
nsITimer::TYPE_ONE_SHOT);
|
||||
mExpireNowTimer->InitWithNamedFuncCallback(expireNowTimerCallback,
|
||||
this,
|
||||
RENEW_CACHED_NOW_TIMEOUT,
|
||||
nsITimer::TYPE_ONE_SHOT,
|
||||
"nsNavHistory::GetNow");
|
||||
}
|
||||
return mCachedNow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user