diff --git a/xpcom/threads/nsThreadManager.cpp b/xpcom/threads/nsThreadManager.cpp index 81e8e643fbe5..e1f8ce2e1455 100644 --- a/xpcom/threads/nsThreadManager.cpp +++ b/xpcom/threads/nsThreadManager.cpp @@ -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; }