aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorLars Bergstrom <lars@lars.com>2014-03-14 17:06:40 -0500
committerLars Bergstrom <lars@lars.com>2014-03-18 22:00:48 -0500
commita6100563a6e43471ae43fb155113bc2026992f78 (patch)
tree7e7fbd7976c3da12ff463d6ffbeb1a3a336ae7d3 /src/components/script/script_task.rs
parentfe22598c56092880b3e947b4fc9466d1a700e17e (diff)
downloadservo-a6100563a6e43471ae43fb155113bc2026992f78.tar.gz
servo-a6100563a6e43471ae43fb155113bc2026992f78.zip
Rust upgrade for new master rebase
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 3358d250de7..e82a0e87647 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -893,7 +893,7 @@ impl ScriptTask {
// "load" event as soon as we've finished executing all scripts parsed during
// the initial load.
let mut event = Event::new(&window);
- let _ = event.get_mut().InitEvent(~"load", false, false);
+ event.get_mut().InitEvent(~"load", false, false);
let doctarget = EventTargetCast::from(&document);
let mut wintarget: JS<EventTarget> = EventTargetCast::from(&window);
let winclone = wintarget.clone();
@@ -1131,7 +1131,7 @@ impl ScriptTask {
} else {
let ConstellationChan(ref chan) = self.constellation_chan;
chan.send(LoadUrlMsg(page.id, url));
- }
+ }
}
}
}