Remove unused arguments from LoadComplete and LoadCompleteMsg

This commit is contained in:
Manish Goregaokar 2014-11-14 02:14:00 +05:30
parent d5f1bb2df5
commit cdddf6465c
5 changed files with 9 additions and 10 deletions

View file

@ -854,10 +854,10 @@ impl ScriptTask {
let wintarget: JSRef<EventTarget> = EventTargetCast::from_ref(*window);
let _ = wintarget.dispatch_event_with_target(Some(doctarget), *event);
*page.fragment_name.borrow_mut() = url.fragment.clone();
*page.fragment_name.borrow_mut() = url.fragment;
let ConstellationChan(ref chan) = self.constellation_chan;
chan.send(LoadCompleteMsg(page.id, url));
chan.send(LoadCompleteMsg);
}
fn scroll_fragment_point(&self, pipeline_id: PipelineId, node: JSRef<Element>) {