diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-09-06 16:46:07 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-09-06 16:46:07 -0400 |
commit | 572d33fa14834f4894574490279eef8a1bfafc2c (patch) | |
tree | f2c6f1231c27efbcb328e29d13ea88a8931c409f /src/components/script/script_task.rs | |
parent | 7cf0da6b8a2794d4c1146fec9cceec0106e7fe2e (diff) | |
parent | 375e475f99e8767fd2cc7c5f67e3a8e7f15760a8 (diff) | |
download | servo-572d33fa14834f4894574490279eef8a1bfafc2c.tar.gz servo-572d33fa14834f4894574490279eef8a1bfafc2c.zip |
Merge pull request #3210 from seanmonstar/private-node-type-id
make Node.type_id field private, access through type_id()
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index ce0d18b8c87..fdbcff82410 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -208,7 +208,7 @@ trait PrivateScriptTaskHelpers { impl<'a> PrivateScriptTaskHelpers for JSRef<'a, Node> { fn click_event_filter_by_disabled_state(&self) -> bool { - match self.type_id { + match self.type_id() { ElementNodeTypeId(HTMLButtonElementTypeId) | ElementNodeTypeId(HTMLInputElementTypeId) | // ElementNodeTypeId(HTMLKeygenElementTypeId) | |