mirror of
https://github.com/servo/servo.git
synced 2025-06-18 22:34:30 +01:00
Implement epochs; fix integration bugs
This commit is contained in:
parent
f2c00f7e28
commit
eb6973c7dc
9 changed files with 114 additions and 48 deletions
|
@ -31,7 +31,7 @@ struct IFrameSize {
|
|||
impl IFrameSize {
|
||||
pub fn set_rect(&mut self, rect: Rect<f32>) {
|
||||
let future_chan = replace(&mut self.future_chan, None);
|
||||
do future_chan.map_consume |future_chan| {
|
||||
do future_chan.map_move |future_chan| {
|
||||
let Size2D { width, height } = rect.size;
|
||||
future_chan.send(Size2D(width as uint, height as uint));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue