mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Drop 'ref' to work around a Rust bug
The bug is mozilla/rust#8675. Fixes #752.
This commit is contained in:
parent
d0e47f427e
commit
0e1f6e19d6
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ impl Constellation {
|
|||
|
||||
fn handle_resized_window_msg(&mut self, new_size: Size2D<uint>) {
|
||||
let mut already_seen = HashSet::new();
|
||||
for &@FrameTree { pipeline: ref pipeline, _ } in self.current_frame().iter() {
|
||||
for &@FrameTree { pipeline: pipeline, _ } in self.current_frame().iter() {
|
||||
let Size2D { width, height } = new_size;
|
||||
pipeline.script_chan.send(SendEventMsg(pipeline.id.clone(),
|
||||
ResizeEvent(width, height)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue