diff options
author | Jan-Fabian Humann <j.f.humann@outlook.com> | 2016-03-30 18:55:31 +0200 |
---|---|---|
committer | Jan-Fabian Humann <j.f.humann@outlook.com> | 2016-03-30 20:05:16 +0200 |
commit | d7785628447611810ba5bf15b821ab1ed2fa45ea (patch) | |
tree | e7511af6ab588d25581c090317a2be025a3b3896 /components/canvas/webgl_paint_thread.rs | |
parent | e1485718128bff632eff5445583e925ff796bdba (diff) | |
download | servo-d7785628447611810ba5bf15b821ab1ed2fa45ea.tar.gz servo-d7785628447611810ba5bf15b821ab1ed2fa45ea.zip |
#10211: Stop re-exporting webrender_traits WebGL types from canvas_traits
Diffstat (limited to 'components/canvas/webgl_paint_thread.rs')
-rw-r--r-- | components/canvas/webgl_paint_thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/canvas/webgl_paint_thread.rs b/components/canvas/webgl_paint_thread.rs index 652a11b9332..618b92eb29f 100644 --- a/components/canvas/webgl_paint_thread.rs +++ b/components/canvas/webgl_paint_thread.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use canvas_traits::{CanvasCommonMsg, CanvasMsg, CanvasPixelData, CanvasData, CanvasWebGLMsg, FromLayoutMsg}; +use canvas_traits::{CanvasCommonMsg, CanvasMsg, CanvasPixelData, CanvasData, FromLayoutMsg}; use euclid::size::Size2D; use gleam::gl; use ipc_channel::ipc::{self, IpcSender, IpcSharedMemory}; @@ -42,7 +42,7 @@ impl WebGLPaintThread { }) } - pub fn handle_webgl_message(&self, message: CanvasWebGLMsg) { + pub fn handle_webgl_message(&self, message: webrender_traits::WebGLCommand) { debug!("WebGL message: {:?}", message); match self.data { WebGLPaintTaskData::WebRender(ref api, id) => { |