mirror of
https://github.com/servo/servo.git
synced 2025-07-25 08:10: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
|
@ -3744,7 +3744,7 @@ class CGCallGenerator(CGThing):
|
|||
if "cx" not in argsPre and needsCx:
|
||||
args.prepend(CGGeneric("cx"))
|
||||
if nativeMethodName in descriptor.inRealmMethods:
|
||||
args.append(CGGeneric("InRealm::in_realm(&AlreadyInRealm::assert_for_cx(cx))"))
|
||||
args.append(CGGeneric("InRealm::already(&AlreadyInRealm::assert_for_cx(cx))"))
|
||||
|
||||
# Build up our actual call
|
||||
self.cgRoot = CGList([], "\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue