mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use RootedTraceableBox for unions.
This commit is contained in:
parent
0cc6d3e997
commit
d5f8b35a5f
2 changed files with 7 additions and 1 deletions
|
@ -435,7 +435,7 @@ impl TestBindingMethods for TestBinding {
|
|||
fn PassUnion6(&self, _: UnsignedLongOrBoolean) {}
|
||||
fn PassUnion7(&self, _: StringSequenceOrUnsignedLong) {}
|
||||
fn PassUnion8(&self, _: ByteStringSequenceOrLong) {}
|
||||
fn PassUnion9(&self, _: UnionTypes::TestDictionaryOrLong) {}
|
||||
fn PassUnion9(&self, _: RootedTraceableBox<UnionTypes::TestDictionaryOrLong>) {}
|
||||
fn PassUnionWithTypedef(&self, _: DocumentOrTestTypedef) {}
|
||||
fn PassUnionWithTypedef2(&self, _: LongSequenceOrTestTypedef) {}
|
||||
#[allow(unsafe_code)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue