mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
clippy: components/script/realms (#32859)
Signed-off-by: Rémy Saissy <remy.saissy@gmail.com>
This commit is contained in:
parent
bc1c71bd4d
commit
eac54183c1
4 changed files with 4 additions and 4 deletions
|
@ -209,7 +209,7 @@ unsafe extern "C" fn enqueue_promise_job(
|
|||
GlobalScope::from_object(incumbent_global.get())
|
||||
} else {
|
||||
let realm = AlreadyInRealm::assert_for_cx(cx);
|
||||
GlobalScope::from_context(*cx, InRealm::in_realm(&realm))
|
||||
GlobalScope::from_context(*cx, InRealm::already(&realm))
|
||||
};
|
||||
let pipeline = global.pipeline_id();
|
||||
let interaction = if promise.get().is_null() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue