aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 797108a0ee4..fec964ce312 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1624,7 +1624,7 @@ impl ScriptThread {
},
CompositorEvent::KeyboardEvent(key_event) => {
- document.dispatch_key_event(key_event);
+ document.dispatch_key_event(key_event, can_gc);
},
CompositorEvent::IMEDismissedEvent => {