mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
parent
585e0d69cd
commit
f7669b5238
32 changed files with 76 additions and 77 deletions
|
@ -316,7 +316,7 @@ fn finish_fetching_a_classic_script(
|
|||
// Step 11, Asynchronously complete this algorithm with script,
|
||||
// which refers to step 26.6 "When the chosen algorithm asynchronously completes",
|
||||
// of https://html.spec.whatwg.org/multipage/#prepare-a-script
|
||||
let document = document_from_node(&*elem);
|
||||
let document = document_from_node(elem);
|
||||
|
||||
match script_kind {
|
||||
ExternalScriptKind::Asap => document.asap_script_loaded(elem, load),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue