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.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index fc9498a8ebb..e6d91a1bc2e 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -513,8 +513,6 @@ unsafe_no_jsmanaged_fields!(TaskQueue<MainThreadScriptMsg>);
unsafe_no_jsmanaged_fields!(dyn BackgroundHangMonitorRegister);
unsafe_no_jsmanaged_fields!(dyn BackgroundHangMonitor);
-unsafe_no_jsmanaged_fields!(WindowGLContext);
-
#[derive(JSTraceable)]
// ScriptThread instances are rooted on creation, so this is okay
#[allow(unrooted_must_root)]
@@ -681,7 +679,7 @@ pub struct ScriptThread {
/// An optional string allowing the user agent to be set for testing.
user_agent: Cow<'static, str>,
-
+
/// Application window's GL Context for Media player
player_context: WindowGLContext,
}