aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/canvas/webgl_channel/ipc.rs
diff options
context:
space:
mode:
authorNgo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>2024-05-24 15:13:20 +0900
committerGitHub <noreply@github.com>2024-05-24 06:13:20 +0000
commitb1031d68c73544778bfc088db6242c7496b7eb57 (patch)
tree827bcd18c81a669462ebf11127ee8939af8d81f8 /components/shared/canvas/webgl_channel/ipc.rs
parentfc08bd1aa79e1211323d91681308456778d3abc9 (diff)
downloadservo-b1031d68c73544778bfc088db6242c7496b7eb57.tar.gz
servo-b1031d68c73544778bfc088db6242c7496b7eb57.zip
Move webgl_channel into base crate (#32339)
* Move webgl_channel into a shared crate * Add license header * Rename channle types and simplify module * Move module to base
Diffstat (limited to 'components/shared/canvas/webgl_channel/ipc.rs')
-rw-r--r--components/shared/canvas/webgl_channel/ipc.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/components/shared/canvas/webgl_channel/ipc.rs b/components/shared/canvas/webgl_channel/ipc.rs
deleted file mode 100644
index be320a69624..00000000000
--- a/components/shared/canvas/webgl_channel/ipc.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-
-use std::io;
-
-use serde::{Deserialize, Serialize};
-
-pub type WebGLSender<T> = ipc_channel::ipc::IpcSender<T>;
-pub type WebGLReceiver<T> = ipc_channel::ipc::IpcReceiver<T>;
-
-pub fn webgl_channel<T: Serialize + for<'de> Deserialize<'de>>(
-) -> Result<(WebGLSender<T>, WebGLReceiver<T>), io::Error> {
- ipc_channel::ipc::channel()
-}