mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 1463605 - Check mMayHaveOpacityAnimation in nsFrame::HasOpacityInternal(). r=birtles
If the mMayHaveOpacityAnimation is false there, we don't need to check opacity animations at all. MozReview-Commit-ID: LTYPPXzF8V6 --HG-- extra : rebase_source : ee2c90e04003140944fb4cc255aa3c6f1c07f0b0
This commit is contained in:
parent
452c7f0e9a
commit
c4fb9d14c7
@ -1553,6 +1553,10 @@ nsIFrame::HasOpacityInternal(float aThreshold,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!mMayHaveOpacityAnimation) {
|
||||
return false;
|
||||
}
|
||||
|
||||
EffectSet* effects =
|
||||
aEffectSet ? aEffectSet : EffectSet::GetEffectSet(this);
|
||||
if (!effects) {
|
||||
|
Loading…
Reference in New Issue
Block a user