summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/src/XPCComponents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/src/XPCComponents.cpp')
-rw-r--r--js/xpconnect/src/XPCComponents.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/xpconnect/src/XPCComponents.cpp b/js/xpconnect/src/XPCComponents.cpp
index ca78234c9..02b0b4d14 100644
--- a/js/xpconnect/src/XPCComponents.cpp
+++ b/js/xpconnect/src/XPCComponents.cpp
@@ -3007,9 +3007,6 @@ GENERATE_JSCONTEXTOPTION_GETTER_SETTER(Ion, ion, setIon)
NS_IMETHODIMP
nsXPCComponents_Utils::SetGCZeal(int32_t aValue, JSContext* cx)
{
-#ifdef JS_GC_ZEAL
- JS_SetGCZeal(cx, uint8_t(aValue), JS_DEFAULT_ZEAL_FREQ);
-#endif
return NS_OK;
}