mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang
This commit is contained in:
parent
9ee397a15a
commit
4529fcf60b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ private:
|
||||
|
||||
enum EnsureTimerStartedFlags {
|
||||
eNone = 0,
|
||||
eAdjustingTimer = 1 << 0,
|
||||
eForceAdjustTimer = 1 << 0,
|
||||
eAllowTimeToGoBackwards = 1 << 1
|
||||
};
|
||||
void EnsureTimerStarted(EnsureTimerStartedFlags aFlags = eNone);
|
||||
|
Loading…
Reference in New Issue
Block a user