aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/gfx/render_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/gfx/render_task.rs')
-rw-r--r--src/components/gfx/render_task.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/gfx/render_task.rs b/src/components/gfx/render_task.rs
index 4bb2b2a45a2..af80d384b69 100644
--- a/src/components/gfx/render_task.rs
+++ b/src/components/gfx/render_task.rs
@@ -9,6 +9,7 @@ use azure::azure_hl::{B8G8R8A8, DrawTarget};
use display_list::DisplayList;
use servo_msg::compositor_msg::{RenderListener, IdleRenderState, RenderingRenderState, LayerBuffer};
use servo_msg::compositor_msg::{LayerBufferSet};
+use servo_msg::constellation_msg::PipelineId;
use font_context::FontContext;
use geom::matrix2d::Matrix2D;
use geom::size::Size2D;
@@ -70,7 +71,7 @@ impl RenderChan {
}
priv struct RenderTask<C> {
- id: uint,
+ id: PipelineId,
port: Port<Msg>,
compositor: C,
font_ctx: @mut FontContext,
@@ -90,7 +91,7 @@ priv struct RenderTask<C> {
}
impl<C: RenderListener + Send> RenderTask<C> {
- pub fn create(id: uint,
+ pub fn create(id: PipelineId,
port: Port<Msg>,
compositor: C,
opts: Opts,