Bug 1627711 - Remove unused nsDOMWindowUtils::IsIncrementalGCEnabled method r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D75810
This commit is contained in:
Jon Coppeard 2020-05-18 16:09:45 +00:00
parent a7827f949b
commit 5a5b2daeba
2 changed files with 0 additions and 12 deletions

View File

@ -3003,12 +3003,6 @@ nsDOMWindowUtils::FlushPendingFileDeletions() {
return NS_OK;
}
NS_IMETHODIMP
nsDOMWindowUtils::IsIncrementalGCEnabled(JSContext* cx, bool* aResult) {
*aResult = JS::IsIncrementalGCEnabled(cx);
return NS_OK;
}
NS_IMETHODIMP
nsDOMWindowUtils::StartPCCountProfiling(JSContext* cx) {
js::StartPCCountProfiling(cx);

View File

@ -1577,12 +1577,6 @@ interface nsIDOMWindowUtils : nsISupports {
void flushPendingFileDeletions();
/**
* Return whether incremental GC has been disabled due to a binary add-on.
*/
[implicit_jscontext]
boolean isIncrementalGCEnabled();
/**
* Begin opcode-level profiling of all JavaScript execution in the window's
* runtime.