Bug 1419144 - Part 2: Remove unused gThrottledIdlePeriodLength, r=farre

MozReview-Commit-ID: GGMJC6HuCLa
This commit is contained in:
Nika Layzell 2017-11-17 16:22:01 -05:00
parent 153cad2eb5
commit 93c45cb3ef
2 changed files with 0 additions and 12 deletions

View File

@ -309,11 +309,6 @@ int32_t gTimeoutCnt = 0;
#define MEMORY_PRESSURE_OBSERVER_TOPIC "memory-pressure"
// The interval at which we execute idle callbacks
static uint32_t gThrottledIdlePeriodLength;
#define DEFAULT_THROTTLED_IDLE_PERIOD_LENGTH 10000
// CIDs
static NS_DEFINE_CID(kXULControllersCID, NS_XULCONTROLLERS_CID);
@ -800,10 +795,6 @@ EnsurePrefCaches()
Preferences::AddBoolVarCache(&gIdleObserversAPIFuzzTimeDisabled,
"dom.idle-observers-api.fuzz_time.disabled",
false);
Preferences::AddUintVarCache(&gThrottledIdlePeriodLength,
"dom.idle_period.throttled_length",
DEFAULT_THROTTLED_IDLE_PERIOD_LENGTH);
sFirstTime = false;
}
}

View File

@ -3124,9 +3124,6 @@ pref("dom.max_ext_content_script_run_time", 5);
// Stop all scripts in a compartment when the "stop script" dialog is used.
pref("dom.global_stop_script", true);
// Time (milliseconds) between throttled idle callbacks.
pref("dom.idle_period.throttled_length", 10000);
// Support the input event queue on the main thread of content process
pref("input_event_queue.supported", true);