diff --git a/content/base/src/nsAttrAndChildArray.cpp b/content/base/src/nsAttrAndChildArray.cpp index 4d1883cab0d..115b896cfab 100644 --- a/content/base/src/nsAttrAndChildArray.cpp +++ b/content/base/src/nsAttrAndChildArray.cpp @@ -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); } }