diff --git a/components/canvas/webgl_paint_task.rs b/components/canvas/webgl_paint_task.rs
index ef89fca2303..2073c0ccf81 100644
--- a/components/canvas/webgl_paint_task.rs
+++ b/components/canvas/webgl_paint_task.rs
@@ -111,6 +111,8 @@ impl WebGLPaintTask {
gl::pixel_store_i(name, val),
CanvasWebGLMsg::PolygonOffset(factor, units) =>
gl::polygon_offset(factor, units),
+ CanvasWebGLMsg::Scissor(x, y, width, height) =>
+ gl::scissor(x, y, width, height),
CanvasWebGLMsg::EnableVertexAttribArray(attrib_id) =>
gl::enable_vertex_attrib_array(attrib_id),
CanvasWebGLMsg::GetAttribLocation(program_id, name, chan) =>
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs
index e2d6e70b875..b98cef63fd6 100644
--- a/components/canvas_traits/lib.rs
+++ b/components/canvas_traits/lib.rs
@@ -175,6 +175,7 @@ pub enum CanvasWebGLMsg {
GetAttribLocation(u32, String, IpcSender