diff options
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs index ac50e9cfc34..1079e5986ef 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -27,7 +27,6 @@ use std::cast; use std::cell::RefCell; use std::comm::{Port, SharedChan}; use std::from_str::FromStr; -use std::str::eq_slice; use std::str; use style::Stylesheet; @@ -37,7 +36,7 @@ macro_rules! handle_element( $string: expr, $ctor: ident $(, $arg:expr )*) => ( - if eq_slice($localName, $string) { + if $string == $localName { return $ctor::new($localName, $document $(, $arg)*); } ) |