Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Commit 8dba464

Browse files
authored
Fix PrototypeChain constraint on WebIdlConverter (#1109)
1 parent 4a94c46 commit 8dba464

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

core/runtime/ops.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,8 +1939,6 @@ mod tests {
19391939

19401940
impl GarbageCollected for TestResource {}
19411941

1942-
impl deno_core::cppgc::PrototypeChain for TestResource {}
1943-
19441942
#[op2]
19451943
#[cppgc]
19461944
pub fn op_test_make_cppgc_resource() -> TestResource {

core/webidl.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,13 +852,13 @@ impl<'a> WebIdlConverter<'a> for ByteString {
852852
}
853853

854854
pub trait WebIdlInterfaceConverter:
855-
v8::cppgc::GarbageCollected + crate::cppgc::PrototypeChain + 'static
855+
v8::cppgc::GarbageCollected + 'static
856856
{
857857
const NAME: &'static str;
858858
}
859859

860-
impl<'a, T: WebIdlInterfaceConverter + crate::cppgc::PrototypeChain>
861-
WebIdlConverter<'a> for crate::cppgc::Ptr<T>
860+
impl<'a, T: WebIdlInterfaceConverter> WebIdlConverter<'a>
861+
for crate::cppgc::Ptr<T>
862862
{
863863
type Options = ();
864864

0 commit comments

Comments
 (0)