Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)

MozReview-Commit-ID: 12bk9hQ7Wnv
This commit is contained in:
Bill McCloskey
2017-05-22 11:26:39 -07:00
parent 8f42af4624
commit 04b1343a42
18 changed files with 192 additions and 35 deletions

View File

@@ -963,6 +963,12 @@ EventSourceImpl::IsOnCurrentThread(bool* aResult)
return NS_OK;
}
NS_IMETHODIMP_(bool)
EventSourceImpl::IsOnCurrentThreadInfallible()
{
return IsTargetThread();
}
nsresult
EventSourceImpl::GetBaseURI(nsIURI** aBaseURI)
{