mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
split script_task::ExitMsg into WindowExitMsg and PipelineExitMsg
This commit is contained in:
parent
99f125bb64
commit
103cd6255d
6 changed files with 53 additions and 34 deletions
|
@ -10,7 +10,7 @@ use dom::node::{AbstractNode, ScriptView};
|
|||
use dom::navigator::Navigator;
|
||||
|
||||
use layout_interface::ReflowForDisplay;
|
||||
use script_task::{ExitMsg, FireTimerMsg, Page, ScriptChan};
|
||||
use script_task::{ExitWindowMsg, FireTimerMsg, Page, ScriptChan};
|
||||
use servo_msg::compositor_msg::ScriptListener;
|
||||
use servo_net::image_cache_task::ImageCacheTask;
|
||||
|
||||
|
@ -212,7 +212,7 @@ impl Window {
|
|||
match timer_port.recv() {
|
||||
TimerMessage_Close => break,
|
||||
TimerMessage_Fire(td) => script_chan.send(FireTimerMsg(id, td)),
|
||||
TimerMessage_TriggerExit => script_chan.send(ExitMsg(id)),
|
||||
TimerMessage_TriggerExit => script_chan.send(ExitWindowMsg(id)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue