aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-03-21 17:55:08 +0100
committerMs2ger <Ms2ger@gmail.com>2016-03-21 17:55:08 +0100
commit63a00f4dbf4f7f85fbdf17dbc3995aee8cc974b0 (patch)
tree0afc7d8f7b73733e3e0bcabe7344e9c211cfe7cf /components/script_traits/script_msg.rs
parent7e2e54326f49b88147712f25cb123352206a830d (diff)
downloadservo-63a00f4dbf4f7f85fbdf17dbc3995aee8cc974b0.tar.gz
servo-63a00f4dbf4f7f85fbdf17dbc3995aee8cc974b0.zip
Stop sending the renderer id to script.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index 73da909cb5f..5b6afa3db1e 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -39,12 +39,12 @@ pub enum ScriptMsg {
ChangeRunningAnimationsState(PipelineId, AnimationState),
/// Requests that a new 2D canvas thread be created. (This is done in the constellation because
/// 2D canvases may use the GPU and we don't want to give untrusted content access to the GPU.)
- CreateCanvasPaintThread(Size2D<i32>, IpcSender<(IpcSender<CanvasMsg>, usize)>),
+ CreateCanvasPaintThread(Size2D<i32>, IpcSender<IpcSender<CanvasMsg>>),
/// Requests that a new WebGL thread be created. (This is done in the constellation because
/// WebGL uses the GPU and we don't want to give untrusted content access to the GPU.)
CreateWebGLPaintThread(Size2D<i32>,
GLContextAttributes,
- IpcSender<Result<(IpcSender<CanvasMsg>, usize), String>>),
+ IpcSender<Result<IpcSender<CanvasMsg>, String>>),
/// Dispatched after the DOM load event has fired on a document
/// Causes a `load` event to be dispatched to any enclosing frame context element
/// for the given pipeline.