mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 21:43:24 +00:00
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in webrtc/signaling. r=jesup
This commit is contained in:
parent
e1a6042c4b
commit
475d4e8367
@ -105,7 +105,8 @@ static nsresult InitNSSInContent()
|
||||
NS_ENSURE_TRUE(NS_IsMainThread(), NS_ERROR_NOT_SAME_THREAD);
|
||||
|
||||
if (XRE_GetProcessType() != GeckoProcessType_Content) {
|
||||
MOZ_ASSUME_UNREACHABLE("Must be called in content process");
|
||||
MOZ_ASSERT_UNREACHABLE("Must be called in content process");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
static bool nssStarted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user