diff options
Diffstat (limited to 'components/script/dom/readablestream.rs')
-rw-r--r-- | components/script/dom/readablestream.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/readablestream.rs b/components/script/dom/readablestream.rs index 933a14ae317..bf39c43e923 100644 --- a/components/script/dom/readablestream.rs +++ b/components/script/dom/readablestream.rs @@ -845,7 +845,7 @@ impl ReadableStream { } #[cfg_attr(crown, allow(crown::unrooted_must_root))] - fn new_with_proto( + pub(crate) fn new_with_proto( global: &GlobalScope, proto: Option<SafeHandleObject>, can_gc: CanGc, @@ -1619,7 +1619,7 @@ impl ReadableStream { /// <https://streams.spec.whatwg.org/#readable-stream-pipe-to> #[allow(clippy::too_many_arguments)] - fn pipe_to( + pub(crate) fn pipe_to( &self, cx: SafeJSContext, global: &GlobalScope, @@ -1782,7 +1782,7 @@ impl ReadableStream { } /// <https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformreadable> - fn setup_cross_realm_transform_readable( + pub(crate) fn setup_cross_realm_transform_readable( &self, cx: SafeJSContext, port: &MessagePort, |