mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Changed NS_NOTREACHED to be NS_WARN_IF_FALSE() so as to not crash everyone. r=sfraser.
This commit is contained in:
parent
f0edbb0a62
commit
e04693d65a
@ -616,7 +616,7 @@ nsEditor::EndPlaceHolderTransaction()
|
||||
}
|
||||
else // but if we did make one it should be around
|
||||
{
|
||||
NS_NOTREACHED("should this ever happen?");
|
||||
NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -616,7 +616,7 @@ nsEditor::EndPlaceHolderTransaction()
|
||||
}
|
||||
else // but if we did make one it should be around
|
||||
{
|
||||
NS_NOTREACHED("should this ever happen?");
|
||||
NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user