diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index ad8c3d09e57..f55d9279138 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -946,7 +946,9 @@ impl ScriptThread { ScriptThreadEventCategory::TimerEvent => ProfilerCategory::ScriptTimerEvent, ScriptThreadEventCategory::WebSocketEvent => ProfilerCategory::ScriptWebSocketEvent, ScriptThreadEventCategory::WorkerEvent => ProfilerCategory::ScriptWorkerEvent, - ScriptThreadEventCategory::ServiceWorkerEvent => ProfilerCategory::ScriptServiceWorkerEvent + ScriptThreadEventCategory::ServiceWorkerEvent => ProfilerCategory::ScriptServiceWorkerEvent, + ScriptThreadEventCategory::EnterFullscreen => ProfilerCategory::ScriptEnterFullscreen, + ScriptThreadEventCategory::ExitFullscreen => ProfilerCategory::ScriptExitFullscreen, }; profile(profiler_cat, None, self.time_profiler_chan.clone(), f) } else { |