mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1073336 part 3b - Add nsPresContext::ClearLastStyleUpdateForAllAnimations; r=dbaron
This commit is contained in:
parent
862f1e6d3b
commit
b8775a0cfa
@ -1558,7 +1558,7 @@ nsPresContext::Detach()
|
||||
}
|
||||
|
||||
bool
|
||||
nsPresContext::StyleUpdateForAllAnimationsIsUpToDate()
|
||||
nsPresContext::StyleUpdateForAllAnimationsIsUpToDate() const
|
||||
{
|
||||
return mLastStyleUpdateForAllAnimations == mRefreshDriver->MostRecentRefresh();
|
||||
}
|
||||
@ -1569,6 +1569,12 @@ nsPresContext::TickLastStyleUpdateForAllAnimations()
|
||||
mLastStyleUpdateForAllAnimations = mRefreshDriver->MostRecentRefresh();
|
||||
}
|
||||
|
||||
void
|
||||
nsPresContext::ClearLastStyleUpdateForAllAnimations()
|
||||
{
|
||||
mLastStyleUpdateForAllAnimations = TimeStamp();
|
||||
}
|
||||
|
||||
bool
|
||||
nsPresContext::BidiEnabledExternal() const
|
||||
{
|
||||
|
@ -705,10 +705,11 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter and setter for OMTA time counters
|
||||
* Getter and setters for OMTA time counters
|
||||
*/
|
||||
bool StyleUpdateForAllAnimationsIsUpToDate();
|
||||
bool StyleUpdateForAllAnimationsIsUpToDate() const;
|
||||
void TickLastStyleUpdateForAllAnimations();
|
||||
void ClearLastStyleUpdateForAllAnimations();
|
||||
|
||||
/**
|
||||
* Check if bidi enabled (set depending on the presence of RTL
|
||||
|
Loading…
Reference in New Issue
Block a user