mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove dependencies on the native crate.
This commit is contained in:
parent
394508953e
commit
04eb923da9
11 changed files with 6 additions and 26 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
use compositor_task::{CompositorProxy, Msg};
|
||||
|
||||
use native::task::NativeTaskBuilder;
|
||||
use std::io::timer;
|
||||
use std::task::TaskBuilder;
|
||||
use std::time::duration::Duration;
|
||||
|
@ -34,7 +33,7 @@ enum ToScrollingTimerMsg {
|
|||
impl ScrollingTimerProxy {
|
||||
pub fn new(compositor_proxy: Box<CompositorProxy+Send>) -> ScrollingTimerProxy {
|
||||
let (to_scrolling_timer_sender, to_scrolling_timer_receiver) = channel();
|
||||
TaskBuilder::new().native().spawn(proc() {
|
||||
TaskBuilder::new().spawn(proc() {
|
||||
let mut scrolling_timer = ScrollingTimer {
|
||||
compositor_proxy: compositor_proxy,
|
||||
receiver: to_scrolling_timer_receiver,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue