Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen
This commit is contained in:
@@ -587,7 +587,7 @@ nsHtml5Parser::IsScriptCreated()
|
||||
void
|
||||
nsHtml5Parser::ParseUntilBlocked()
|
||||
{
|
||||
if (mBlocked || mExecutor->IsComplete() || mExecutor->IsBroken()) {
|
||||
if (mBlocked || mExecutor->IsComplete() || NS_FAILED(mExecutor->IsBroken())) {
|
||||
return;
|
||||
}
|
||||
NS_ASSERTION(mExecutor->HasStarted(), "Bad life cycle.");
|
||||
|
||||
Reference in New Issue
Block a user