diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-07-01 16:48:18 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-07-04 10:26:48 +0200 |
commit | cd17b6ca666b22248f3ce44d2c071dc6c84a2499 (patch) | |
tree | 3f3c327cf45281c9d4e6ba03cf28ef1cfda407b8 /components/media/media_thread.rs | |
parent | 0da87ad169ca33c8d2bce7a49de77d8821d5cac5 (diff) | |
download | servo-cd17b6ca666b22248f3ce44d2c071dc6c84a2499.tar.gz servo-cd17b6ca666b22248f3ce44d2c071dc6c84a2499.zip |
Fix typos, warnings and other nits
Diffstat (limited to 'components/media/media_thread.rs')
-rw-r--r-- | components/media/media_thread.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/media/media_thread.rs b/components/media/media_thread.rs index 2d6e85573eb..9dc3bf625f1 100644 --- a/components/media/media_thread.rs +++ b/components/media/media_thread.rs @@ -11,10 +11,10 @@ use std::sync::{Arc, Mutex}; use std::thread; use webrender_traits::{WebrenderExternalImageRegistry, WebrenderImageHandlerType}; -/// A GLPlayerThrx1ead manages the life cycle and message multiplexign of +/// A GLPlayerThread manages the life cycle and message demultiplexing of /// a set of video players with GL render. pub struct GLPlayerThread { - // Map of live players. + /// Map of live players. players: FnvHashMap<u64, GLPlayerSender<GLPlayerMsgForward>>, /// List of registered webrender external images. /// We use it to get an unique ID for new players. @@ -50,7 +50,7 @@ impl GLPlayerThread { sender } - /// Handles a generic WebGLMsg message + /// Handles a generic GLPlayerMsg message #[inline] fn handle_msg(&mut self, msg: GLPlayerMsg) -> bool { trace!("processing {:?}", msg); |