aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/heartbeats.rs
diff options
context:
space:
mode:
authorbenshu <benshu@benshu.de>2015-11-11 23:12:07 +0100
committerbenshu <benshu@benshu.de>2015-11-11 23:12:07 +0100
commit7623e895064843f33a0cd93080001480113cb20a (patch)
tree16743d6f04e786a3f0b763d7a84cb9e89d9f9b61 /components/profile/heartbeats.rs
parent12f6ba29a74029fa8c83cc7274181d441e1e52dd (diff)
downloadservo-7623e895064843f33a0cd93080001480113cb20a.tar.gz
servo-7623e895064843f33a0cd93080001480113cb20a.zip
Execute XHR timeout callbacks directly. (Fixes #8468.)
Diffstat (limited to 'components/profile/heartbeats.rs')
-rw-r--r--components/profile/heartbeats.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/profile/heartbeats.rs b/components/profile/heartbeats.rs
index 0101f62e25b..c87e9f542a8 100644
--- a/components/profile/heartbeats.rs
+++ b/components/profile/heartbeats.rs
@@ -52,7 +52,6 @@ pub fn init() {
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptSetViewport);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptWebSocketEvent);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptWorkerEvent);
- maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptXhrEvent);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ApplicationHeartbeat);
unsafe {
HBS = Some(mem::transmute(Box::new(hbs)));