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:
@@ -1136,7 +1136,7 @@ _getvalue(NPP aNPP,
|
||||
}
|
||||
}
|
||||
|
||||
NS_NOTREACHED("Shouldn't get here!");
|
||||
MOZ_ASSERT_UNREACHABLE("Shouldn't get here!");
|
||||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
|
||||
@@ -1842,7 +1842,7 @@ PluginModuleChild::AnswerModuleSupportsAsyncRender(bool* aResult)
|
||||
*aResult = gChromeInstance->mAsyncRenderSupport;
|
||||
return IPC_OK();
|
||||
#else
|
||||
NS_NOTREACHED("Shouldn't get here!");
|
||||
MOZ_ASSERT_UNREACHABLE("Shouldn't get here!");
|
||||
return IPC_FAIL_NO_REASON(this);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user