Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b. MozReview-Commit-ID: 5UQVHElSpCr
This commit is contained in:
@@ -134,7 +134,7 @@ nsHtml5Parser::GetStreamListener()
|
||||
NS_IMETHODIMP
|
||||
nsHtml5Parser::ContinueInterruptedParsing()
|
||||
{
|
||||
NS_NOTREACHED("Don't call. For interface compat only.");
|
||||
MOZ_ASSERT_UNREACHABLE("Don't call. For interface compat only.");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
@@ -544,21 +544,21 @@ nsHtml5Parser::ParseFragment(const nsAString& aSourceBuffer,
|
||||
NS_IMETHODIMP
|
||||
nsHtml5Parser::BuildModel()
|
||||
{
|
||||
NS_NOTREACHED("Don't call this!");
|
||||
MOZ_ASSERT_UNREACHABLE("Don't call this!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHtml5Parser::CancelParsingEvents()
|
||||
{
|
||||
NS_NOTREACHED("Don't call this!");
|
||||
MOZ_ASSERT_UNREACHABLE("Don't call this!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
void
|
||||
nsHtml5Parser::Reset()
|
||||
{
|
||||
NS_NOTREACHED("Don't call this!");
|
||||
MOZ_ASSERT_UNREACHABLE("Don't call this!");
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user