Bug 1257568. Remove the JSContext argument of WorkerPrivate::Kill. r=khuey

This commit is contained in:
Boris Zbarsky
2016-03-17 23:23:55 -04:00
parent 17eb1e3d40
commit c8254635ef
2 changed files with 2 additions and 5 deletions

View File

@@ -1936,11 +1936,8 @@ RuntimeService::Shutdown()
{
MutexAutoUnlock unlock(mMutex);
AutoSafeJSContext cx;
JSAutoRequest ar(cx);
for (uint32_t index = 0; index < workers.Length(); index++) {
if (!workers[index]->Kill(cx)) {
if (!workers[index]->Kill()) {
NS_WARNING("Failed to cancel worker!");
}
}