зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1416667 - Backed out changeset 22453f19f050. r=backout
MozReview-Commit-ID: 3kaRtZtCQru
This commit is contained in:
Родитель
b0f6b50b37
Коммит
2833f14652
|
@ -659,25 +659,21 @@ GMPChild::ActorDestroy(ActorDestroyReason aWhy)
|
|||
void
|
||||
GMPChild::ProcessingError(Result aCode, const char* aReason)
|
||||
{
|
||||
if (!aReason) {
|
||||
aReason = "";
|
||||
}
|
||||
|
||||
switch (aCode) {
|
||||
case MsgDropped:
|
||||
_exit(0); // Don't trigger a crash report.
|
||||
case MsgNotKnown:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgNotKnown, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgNotKnown");
|
||||
case MsgNotAllowed:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgNotAllowed, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgNotAllowed");
|
||||
case MsgPayloadError:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgPayloadError, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgPayloadError");
|
||||
case MsgProcessingError:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgProcessingError, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgProcessingError");
|
||||
case MsgRouteError:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgRouteError, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgRouteError");
|
||||
case MsgValueError:
|
||||
MOZ_CRASH_UNSAFE_PRINTF("aborting because of MsgValueError, reason(%s)", aReason);
|
||||
MOZ_CRASH("aborting because of MsgValueError");
|
||||
default:
|
||||
MOZ_CRASH("not reached");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче