From 648b569a2227b76cf39e060deff8b4081ba26f06 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 27 Jun 2017 00:12:45 +0200 Subject: Remove SetGCZeal() stub and its callers. --- js/xpconnect/idl/xpccomponents.idl | 5 +---- js/xpconnect/src/XPCComponents.cpp | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'js/xpconnect') diff --git a/js/xpconnect/idl/xpccomponents.idl b/js/xpconnect/idl/xpccomponents.idl index 711ea4c64..611091c4b 100644 --- a/js/xpconnect/idl/xpccomponents.idl +++ b/js/xpconnect/idl/xpccomponents.idl @@ -123,7 +123,7 @@ interface ScheduledGCCallback : nsISupports /** * interface of Components.utils */ -[scriptable, uuid(86003fe3-ee9a-4620-91dc-eef8b1e58815)] +[scriptable, uuid(a6e66965-4b9a-4846-8985-985e71aaf549)] interface nsIXPCComponents_Utils : nsISupports { @@ -529,9 +529,6 @@ interface nsIXPCComponents_Utils : nsISupports [implicit_jscontext] attribute boolean ion; - [implicit_jscontext] - void setGCZeal(in long zeal); - [implicit_jscontext] void nukeSandbox(in jsval obj); diff --git a/js/xpconnect/src/XPCComponents.cpp b/js/xpconnect/src/XPCComponents.cpp index 02b0b4d14..dbb63092e 100644 --- a/js/xpconnect/src/XPCComponents.cpp +++ b/js/xpconnect/src/XPCComponents.cpp @@ -3004,12 +3004,6 @@ GENERATE_JSCONTEXTOPTION_GETTER_SETTER(Ion, ion, setIon) #undef GENERATE_JSCONTEXTOPTION_GETTER_SETTER -NS_IMETHODIMP -nsXPCComponents_Utils::SetGCZeal(int32_t aValue, JSContext* cx) -{ - return NS_OK; -} - NS_IMETHODIMP nsXPCComponents_Utils::NukeSandbox(HandleValue obj, JSContext* cx) { -- cgit v1.2.3