mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove unused support for passing extra arguments for timers.
This commit is contained in:
parent
674fd893cb
commit
3ecfb9197f
2 changed files with 1 additions and 7 deletions
|
@ -111,7 +111,6 @@ pub struct TimerData {
|
|||
pub handle: i32,
|
||||
pub is_interval: bool,
|
||||
pub funval: JSVal,
|
||||
pub args: ~[JSVal],
|
||||
}
|
||||
|
||||
impl Window {
|
||||
|
@ -248,7 +247,6 @@ impl Window {
|
|||
handle: handle,
|
||||
is_interval: is_interval,
|
||||
funval: callback,
|
||||
args: ~[],
|
||||
};
|
||||
let ScriptChan(ref chan) = chan;
|
||||
chan.send(FireTimerMsg(page_id, data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue