mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1868254: Remore unneeded MOZ_ASSERT_UNREACHABLE r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D202584
This commit is contained in:
parent
4255184fd2
commit
28bd5b6f18
@ -131,7 +131,7 @@ bool SerializeIPCStream(already_AddRefed<nsIInputStream> aInputStream,
|
||||
|
||||
InputStreamHelper::SerializeInputStreamAsPipe(stream, aValue.stream());
|
||||
if (aValue.stream().type() == InputStreamParams::T__None) {
|
||||
MOZ_ASSERT_UNREACHABLE("Serializing as a pipe failed");
|
||||
// This can fail from OOM, etc. We will likely MOZ_CRASH now
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user