From 1eb9cc288841c17be790e900b281a4ed26896a61 Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Fri, 3 Jun 2016 12:32:01 -0700 Subject: [PATCH] Bug 1277938 - Remove the now-unused JS::ContextHasOutstandingRequests, r=bz MozReview-Commit-ID: 3aGv7FadvQO --HG-- extra : rebase_source : 2f88f1ac194ef21e7261c7c876de973800d6f28e --- js/src/jsfriendapi.cpp | 6 ------ js/src/jsfriendapi.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/js/src/jsfriendapi.cpp b/js/src/jsfriendapi.cpp index a7527dbbb4ae..b9bd2929f72d 100644 --- a/js/src/jsfriendapi.cpp +++ b/js/src/jsfriendapi.cpp @@ -1129,12 +1129,6 @@ js::DumpHeap(JSRuntime* rt, FILE* fp, js::DumpHeapNurseryBehaviour nurseryBehavi fflush(dtrc.output); } -JS_FRIEND_API(bool) -js::ContextHasOutstandingRequests(const JSContext* cx) -{ - return cx->outstandingRequests > 0; -} - JS_FRIEND_API(void) js::SetActivityCallback(JSRuntime* rt, ActivityCallback cb, void* arg) { diff --git a/js/src/jsfriendapi.h b/js/src/jsfriendapi.h index 31a739838c28..52b193d61a1a 100644 --- a/js/src/jsfriendapi.h +++ b/js/src/jsfriendapi.h @@ -1109,9 +1109,6 @@ GetPCCountScriptContents(JSContext* cx, size_t script); JS_FRIEND_API(char*) GetCodeCoverageSummary(JSContext* cx, size_t* length); -JS_FRIEND_API(bool) -ContextHasOutstandingRequests(const JSContext* cx); - typedef void (* ActivityCallback)(void* arg, bool active);