mirror of
https://github.com/servo/servo.git
synced 2025-06-12 10:24:43 +00:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue