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:
Chris Peterson
2018-06-17 22:43:11 -07:00
parent b48da198b0
commit f7ceeaf5cf
281 changed files with 653 additions and 587 deletions

View File

@@ -106,7 +106,7 @@ mozilla::plugins::ConvertToVariant(const Variant& aRemoteVariant,
}
default:
NS_NOTREACHED("Shouldn't get here!");
MOZ_ASSERT_UNREACHABLE("Shouldn't get here!");
return false;
}
@@ -158,7 +158,7 @@ mozilla::plugins::ConvertToRemoteVariant(const NPVariant& aVariant,
aRemoteVariant = actor;
}
else {
NS_NOTREACHED("Shouldn't get here!");
MOZ_ASSERT_UNREACHABLE("Shouldn't get here!");
return false;
}