aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltextareaelement.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2015-11-14 16:01:34 -0800
committerKeith Yeung <kungfukeith11@gmail.com>2015-11-16 23:10:53 -0800
commit19294db6e5ffc9e85b4b628ef8dc6c72636c70a7 (patch)
tree60c26784064e9fecc12f8bd7b44686ceb7b8472a /components/script/dom/htmltextareaelement.rs
parentafe03870ce1a5a65b4c22f2e64155259da8b4609 (diff)
downloadservo-19294db6e5ffc9e85b4b628ef8dc6c72636c70a7.tar.gz
servo-19294db6e5ffc9e85b4b628ef8dc6c72636c70a7.zip
Split ConstellationMsg into ScriptMsg and CompositorMsg
Diffstat (limited to 'components/script/dom/htmltextareaelement.rs')
-rw-r--r--components/script/dom/htmltextareaelement.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs
index 76194a2044e..f84b38ca55c 100644
--- a/components/script/dom/htmltextareaelement.rs
+++ b/components/script/dom/htmltextareaelement.rs
@@ -25,6 +25,7 @@ use dom::node::{document_from_node, window_from_node};
use dom::nodelist::NodeList;
use dom::virtualmethods::VirtualMethods;
use msg::constellation_msg::ConstellationChan;
+use msg::constellation_msg::ScriptMsg as ConstellationMsg;
use script_task::ScriptTaskEventCategory::InputEvent;
use script_task::{CommonScriptMsg, Runnable};
use selectors::states::*;
@@ -37,7 +38,7 @@ use util::str::DOMString;
pub struct HTMLTextAreaElement {
htmlelement: HTMLElement,
#[ignore_heap_size_of = "#7193"]
- textinput: DOMRefCell<TextInput<ConstellationChan>>,
+ textinput: DOMRefCell<TextInput<ConstellationChan<ConstellationMsg>>>,
cols: Cell<u32>,
rows: Cell<u32>,
// https://html.spec.whatwg.org/multipage/#concept-textarea-dirty