Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang

This commit is contained in:
Hiroyuki Ikezoe 2016-01-05 12:50:59 +09:00
parent 9ee397a15a
commit 4529fcf60b
2 changed files with 3 additions and 3 deletions

View File

@ -1172,7 +1172,7 @@ nsRefreshDriver::EnsureTimerStarted(EnsureTimerStartedFlags aFlags)
return;
// will it already fire, and no other changes needed?
if (mActiveTimer && !(aFlags & eAdjustingTimer))
if (mActiveTimer && !(aFlags & eForceAdjustTimer))
return;
if (IsFrozen() || !mPresContext) {
@ -2078,7 +2078,7 @@ nsRefreshDriver::SetThrottled(bool aThrottled)
if (mActiveTimer) {
// We want to switch our timer type here, so just stop and
// restart the timer.
EnsureTimerStarted(eAdjustingTimer);
EnsureTimerStarted(eForceAdjustTimer);
}
}
}

View File

@ -345,7 +345,7 @@ private:
enum EnsureTimerStartedFlags {
eNone = 0,
eAdjustingTimer = 1 << 0,
eForceAdjustTimer = 1 << 0,
eAllowTimeToGoBackwards = 1 << 1
};
void EnsureTimerStarted(EnsureTimerStartedFlags aFlags = eNone);