mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1419144 - Part 2: Remove unused gThrottledIdlePeriodLength, r=farre
MozReview-Commit-ID: GGMJC6HuCLa
This commit is contained in:
parent
153cad2eb5
commit
93c45cb3ef
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user