diff --git a/xpcom/threads/nsThread.cpp b/xpcom/threads/nsThread.cpp index 1c0c849bece1..da90f7c0fcdc 100755 --- a/xpcom/threads/nsThread.cpp +++ b/xpcom/threads/nsThread.cpp @@ -821,12 +821,6 @@ nsThread::HasPendingEvents(bool* aResult) NS_IMETHODIMP nsThread::IdleDispatch(already_AddRefed aEvent) { - // Currently the only supported idle dispatch is from the same - // thread. To support idle dispatch from another thread we need to - // support waking threads that are waiting for an event queue that - // isn't mIdleEvents. - MOZ_ASSERT(PR_GetCurrentThread() == mThread); - nsCOMPtr event = aEvent; if (NS_WARN_IF(!event)) {