mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Back out bug 1308039 - Preempt GC to paint (a=backout)
This reverts commit 7a09100b677a1967c66e9ebd2273ef01e2fc317d. MozReview-Commit-ID: 5ghL6nbMqeZ
This commit is contained in:
parent
ff4fd71576
commit
2f7dff12ca
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user