aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/webgl_paint_thread.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-05-19 12:15:02 +0200
committerMs2ger <Ms2ger@gmail.com>2016-05-19 12:15:02 +0200
commitefd953f768a0975e48fa9d97bba49bee55da8eed (patch)
tree99be707f721565a0732b754506e74c9e102a87f4 /components/canvas/webgl_paint_thread.rs
parentdea610986dbf4a1e5898cbe6b57832784e786f3a (diff)
downloadservo-efd953f768a0975e48fa9d97bba49bee55da8eed.tar.gz
servo-efd953f768a0975e48fa9d97bba49bee55da8eed.zip
Update documentation for {CanvasPaintThread, WebGLPaintThread}::new().
Diffstat (limited to 'components/canvas/webgl_paint_thread.rs')
-rw-r--r--components/canvas/webgl_paint_thread.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/canvas/webgl_paint_thread.rs b/components/canvas/webgl_paint_thread.rs
index 30e47c06082..a9fe55a848a 100644
--- a/components/canvas/webgl_paint_thread.rs
+++ b/components/canvas/webgl_paint_thread.rs
@@ -58,8 +58,8 @@ impl WebGLPaintThread {
}
}
- /// Creates a new `WebGLPaintThread` and returns the out-of-process sender and the in-process
- /// sender for it.
+ /// Creates a new `WebGLPaintThread` and returns an `IpcSender` to
+ /// communicate with it.
pub fn start(size: Size2D<i32>,
attrs: GLContextAttributes,
webrender_api_sender: Option<webrender_traits::RenderApiSender>)