зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
452c7f0e9a
Коммит
c4fb9d14c7
|
@ -1553,6 +1553,10 @@ nsIFrame::HasOpacityInternal(float aThreshold,
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!mMayHaveOpacityAnimation) {
|
||||
return false;
|
||||
}
|
||||
|
||||
EffectSet* effects =
|
||||
aEffectSet ? aEffectSet : EffectSet::GetEffectSet(this);
|
||||
if (!effects) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче