mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Splitting ScriptMsg into various enums; r=jdm
This commit is contained in:
parent
42d74324e2
commit
89153116fb
18 changed files with 261 additions and 165 deletions
|
@ -28,7 +28,7 @@ use dom::node::{NodeHelpers, NodeTypeId, document_from_node, window_from_node};
|
|||
use textinput::{TextInput, Lines, KeyReaction};
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use dom::window::WindowHelpers;
|
||||
use script_task::{ScriptMsg, Runnable};
|
||||
use script_task::{Runnable, CommonScriptMsg};
|
||||
use msg::constellation_msg::ConstellationChan;
|
||||
|
||||
use util::str::DOMString;
|
||||
|
@ -368,7 +368,7 @@ impl<'a> VirtualMethods for &'a HTMLTextAreaElement {
|
|||
let dispatcher = ChangeEventRunnable {
|
||||
element: handler,
|
||||
};
|
||||
let _ = chan.send(ScriptMsg::RunnableMsg(box dispatcher));
|
||||
let _ = chan.send(CommonScriptMsg::RunnableMsg(box dispatcher));
|
||||
}
|
||||
|
||||
self.force_relayout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue