Bug 1029653 - Fix ForkJoinContext::isMainThread. (r=lth)

This commit is contained in:
Shu-yu Guo 2014-06-25 17:30:55 -07:00
parent add1128f7a
commit e00f170c66

View File

@ -1853,7 +1853,7 @@ bool ForkJoinContext::initialize()
bool
ForkJoinContext::isMainThread() const
{
return perThreadData == &shared_->runtime()->mainThread;
return worker_->isMainThread();
}
JSRuntime *