Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent MozReview-Commit-ID: KuUsnVe2h8L
This commit is contained in:
@@ -756,7 +756,7 @@ nsHtml5TreeOpExecutor::RunScript(nsIContent* aScriptElement)
|
||||
void
|
||||
nsHtml5TreeOpExecutor::Start()
|
||||
{
|
||||
NS_PRECONDITION(!mStarted, "Tried to start when already started.");
|
||||
MOZ_ASSERT(!mStarted, "Tried to start when already started.");
|
||||
mStarted = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user