diff options
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 28e194b2a4a..99312a61bd6 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -236,7 +236,6 @@ pub enum ScriptTaskEventCategory { SetViewport, WebSocketEvent, WorkerEvent, - XhrEvent, } /// Messages used to control the script event loop @@ -954,7 +953,6 @@ impl ScriptTask { ScriptTaskEventCategory::TimerEvent => ProfilerCategory::ScriptTimerEvent, ScriptTaskEventCategory::WebSocketEvent => ProfilerCategory::ScriptWebSocketEvent, ScriptTaskEventCategory::WorkerEvent => ProfilerCategory::ScriptWorkerEvent, - ScriptTaskEventCategory::XhrEvent => ProfilerCategory::ScriptXhrEvent, }; profile(profiler_cat, None, self.time_profiler_chan.clone(), f) } else { |