aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-11-14 02:14:00 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-11-14 02:14:00 +0530
commitcdddf6465cdcf325ea01a7bd616af3e21d0d58fb (patch)
tree4dac0974559a1e751490f4d714a73faa2453ee60 /components/script
parentd5f1bb2df5d8b27893679439b10a320cf378c9d6 (diff)
downloadservo-cdddf6465cdcf325ea01a7bd616af3e21d0d58fb.tar.gz
servo-cdddf6465cdcf325ea01a7bd616af3e21d0d58fb.zip
Remove unused arguments from LoadComplete and LoadCompleteMsg
Diffstat (limited to 'components/script')
-rw-r--r--components/script/script_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index fe7f0902dd9..c407795bd63 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -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>) {