Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking.

This commit is contained in:
Ben Turner 2011-11-05 12:45:35 -07:00
Родитель b4eeea3edf
Коммит 5827a2f72c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -271,7 +271,9 @@ public:
void
TraceInstance(JSTracer* aTrc)
{
AssertIsOnParentThread();
// This should only happen on the parent thread but we can't assert that
// because it can also happen on the cycle collector thread when this is a
// top-level worker.
events::EventTarget::TraceInstance(aTrc);
}