From cc07e2786440528eff6a5e56b6b88c4a845c4ff9 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Wed, 31 May 2023 23:03:32 -0400 Subject: Rename reflect_dom_object2. --- components/script/dom/channelsplitternode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/dom/channelsplitternode.rs') diff --git a/components/script/dom/channelsplitternode.rs b/components/script/dom/channelsplitternode.rs index ca9477be9fa..077b256ffd8 100644 --- a/components/script/dom/channelsplitternode.rs +++ b/components/script/dom/channelsplitternode.rs @@ -9,7 +9,7 @@ use crate::dom::bindings::codegen::Bindings::AudioNodeBinding::{ }; use crate::dom::bindings::codegen::Bindings::ChannelSplitterNodeBinding::ChannelSplitterOptions; use crate::dom::bindings::error::{Error, Fallible}; -use crate::dom::bindings::reflector::reflect_dom_object2; +use crate::dom::bindings::reflector::reflect_dom_object_with_proto; use crate::dom::bindings::root::DomRoot; use crate::dom::window::Window; use dom_struct::dom_struct; @@ -71,7 +71,7 @@ impl ChannelSplitterNode { options: &ChannelSplitterOptions, ) -> Fallible> { let node = ChannelSplitterNode::new_inherited(window, context, options)?; - Ok(reflect_dom_object2(Box::new(node), window, proto)) + Ok(reflect_dom_object_with_proto(Box::new(node), window, proto)) } #[allow(non_snake_case)] -- cgit v1.2.3