mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1594730 - fix silly bug for the background event target; r=KrisWright
The static analysis caught this for me in Bug 1593812, I was just to dumb to actually apply this change prior to commit. Differential Revision: https://phabricator.services.mozilla.com/D52170 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
7e5577e2b2
commit
bc5cca4b95
@ -109,7 +109,7 @@ BackgroundEventTarget::IsOnCurrentThreadInfallible() {
|
||||
NS_IMETHODIMP
|
||||
BackgroundEventTarget::IsOnCurrentThread(bool* aValue) {
|
||||
bool value = false;
|
||||
if (NS_SUCCEEDED(mPool->IsOnCurrentThread(aValue)) && value) {
|
||||
if (NS_SUCCEEDED(mPool->IsOnCurrentThread(&value)) && value) {
|
||||
*aValue = value;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user