aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-10-02 13:25:45 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-10-02 14:21:06 +0200
commita3392610c3414a86a2294073bdc59c78c237bfda (patch)
tree549cc165a6a48da00ac9a6e4f715f3978112f79f /components/script_traits/script_msg.rs
parentb8dbf2dddd88516f85370c49015133435750003d (diff)
downloadservo-a3392610c3414a86a2294073bdc59c78c237bfda.tar.gz
servo-a3392610c3414a86a2294073bdc59c78c237bfda.zip
Make HTMLCanvasElement::get_size return a Size2D<u32>
The changes keep trickling down.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index 14edaee58b6..3ec82114126 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -103,7 +103,7 @@ pub enum ScriptMsg {
ChangeRunningAnimationsState(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>, CanvasId)>),
+ CreateCanvasPaintThread(Size2D<u32>, IpcSender<(IpcSender<CanvasMsg>, CanvasId)>),
/// Notifies the constellation that this frame has received focus.
Focus,
/// Requests that the constellation retrieve the current contents of the clipboard