mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1696347 - Remove redundant nullptr checks of return value of infallible new in dom/workers. r=dom-worker-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D107179
This commit is contained in:
parent
dfa4cc0ad4
commit
383ac52946
@ -709,9 +709,6 @@ bool WorkerDebuggeeRunnable::PreDispatch(WorkerPrivate* aWorkerPrivate) {
|
||||
}
|
||||
|
||||
mSender = new ThreadSafeWorkerRef(strongRef);
|
||||
if (!mSender) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return WorkerRunnable::PreDispatch(aWorkerPrivate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user