Bug 790508: bustage fix r=me

This commit is contained in:
David Zbarsky 2012-09-26 17:55:38 -04:00
parent 104e3d99b5
commit a1f09eb38a

View File

@ -986,7 +986,7 @@ nsIFrame::HasOpacity() const
{
return GetStyleDisplay()->mOpacity < 1.0f || (mContent &&
nsLayoutUtils::HasAnimationsForCompositor(mContent,
eCSSProperty_opacity)
eCSSProperty_opacity) &&
mContent->GetPrimaryFrame() == this);
}