mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
Bug 1185531 - Wrong NS_WARN_IF use in MessagePort.cpp, r=smaug
This commit is contained in:
parent
f7531b86f7
commit
282ecec440
@ -668,7 +668,7 @@ MessagePort::MessagesReceived(nsTArray<MessagePortMessage>& aMessages)
|
||||
RemoveDocFromBFCache();
|
||||
|
||||
FallibleTArray<nsRefPtr<SharedMessagePortMessage>> data;
|
||||
if (!NS_WARN_IF(SharedMessagePortMessage::FromMessagesToSharedChild(aMessages,
|
||||
if (NS_WARN_IF(!SharedMessagePortMessage::FromMessagesToSharedChild(aMessages,
|
||||
data))) {
|
||||
// OOM, We cannot continue.
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user