No need to null-check aRuleWalker. (Bug 557154) r=bzbarsky

This commit is contained in:
L. David Baron 2010-04-06 15:32:51 -07:00
parent 8a88b3f08f
commit 519717b298

View File

@ -600,7 +600,7 @@ nsAttrAndChildArray::SetMappedAttrStyleSheet(nsHTMLStyleSheet* aSheet)
void
nsAttrAndChildArray::WalkMappedAttributeStyleRules(nsRuleWalker* aRuleWalker)
{
if (mImpl && mImpl->mMappedAttrs && aRuleWalker) {
if (mImpl && mImpl->mMappedAttrs) {
aRuleWalker->Forward(mImpl->mMappedAttrs);
}
}