diff options
author | Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> | 2024-03-20 09:07:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 08:07:22 +0000 |
commit | 02a0cdd6faf80b77c6b066120bc2927c963affe3 (patch) | |
tree | abb409671c554c5c4d9678788388d51f6341688d /components/script/script_thread.rs | |
parent | 0cf2caba06a78fe3695c46b468422e975f0bd187 (diff) | |
download | servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.tar.gz servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.zip |
clippy: Fix dereferenced warnings (#31770)
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index c1b7d63968e..1e5b27b89f7 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -3747,7 +3747,7 @@ impl ScriptThread { global_scope.evaluate_js_on_global_with_result( &script_source, jsval.handle_mut(), - ScriptFetchOptions::default_classic_script(&global_scope), + ScriptFetchOptions::default_classic_script(global_scope), global_scope.api_base_url(), ); @@ -3803,7 +3803,7 @@ impl ScriptThread { DOMString::from("resize"), EventBubbles::DoesNotBubble, EventCancelable::NotCancelable, - Some(&window), + Some(window), 0i32, ); uievent.upcast::<Event>().fire(window.upcast()); |