Back out bug 1308039 - Preempt GC to paint (a=backout)

This reverts commit 7a09100b677a1967c66e9ebd2273ef01e2fc317d.

MozReview-Commit-ID: 5ghL6nbMqeZ
This commit is contained in:
Bill McCloskey 2017-01-06 11:53:03 -08:00
parent ff4fd71576
commit 2f7dff12ca

View File

@ -401,7 +401,6 @@ HangMonitorChild::RecvForcePaint(const TabId& aTabId, const uint64_t& aLayerObse
}
JS_RequestInterruptCallback(mContext);
JS::RequestGCInterruptCallback(mContext);
return IPC_OK();
}
@ -1198,7 +1197,6 @@ mozilla::CreateHangMonitorChild(Endpoint<PProcessHangMonitorChild>&& aEndpoint)
JSContext* cx = danger::GetJSContext();
JS_AddInterruptCallback(cx, InterruptCallback);
JS::AddGCInterruptCallback(cx, InterruptCallback);
ProcessHangMonitor* monitor = ProcessHangMonitor::GetOrCreate();
auto* child = new HangMonitorChild(monitor);