Bug 1140216. Remove asserts that stuff that we never create is not null, since it clearly is null. r=jwatt

This commit is contained in:
Boris Zbarsky
2015-03-06 16:33:30 -05:00
parent 8d29b80930
commit 6c7e7954e2
3 changed files with 24 additions and 3 deletions

View File

@@ -805,17 +805,17 @@ nsNumberControlFrame::GetPseudoElement(nsCSSPseudoElements::Type aType)
}
if (aType == nsCSSPseudoElements::ePseudo_mozNumberSpinBox) {
MOZ_ASSERT(mSpinBox);
// Might be null.
return mSpinBox;
}
if (aType == nsCSSPseudoElements::ePseudo_mozNumberSpinUp) {
MOZ_ASSERT(mSpinUp);
// Might be null.
return mSpinUp;
}
if (aType == nsCSSPseudoElements::ePseudo_mozNumberSpinDown) {
MOZ_ASSERT(mSpinDown);
// Might be null.
return mSpinDown;
}