diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-27 20:22:13 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-27 23:00:17 +0200 |
commit | 944d8b00b05c41a272f59eb8d24886ece8bcc95b (patch) | |
tree | 706088bb79c7f33c954837352228dd03170a8171 /src/components/script/html/hubbub_html_parser.rs | |
parent | 38a658d561a316031f190f3f1f2055b0be78553f (diff) | |
download | servo-944d8b00b05c41a272f59eb8d24886ece8bcc95b.tar.gz servo-944d8b00b05c41a272f59eb8d24886ece8bcc95b.zip |
Call the generated rather than the hand-written traits (fixes #2936).
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs index 8b7ee5440b7..7c45f2dfe55 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -2,7 +2,8 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::attr::AttrMethods; +use dom::bindings::codegen::Bindings::AttrBinding::AttrMethods; +use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::codegen::InheritTypes::{NodeBase, NodeCast, TextCast, ElementCast}; use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, Root}; use dom::bindings::utils::Reflectable; @@ -11,7 +12,7 @@ use dom::element::{AttributeHandlers, HTMLLinkElementTypeId}; use dom::htmlelement::HTMLElement; use dom::htmlheadingelement::{Heading1, Heading2, Heading3, Heading4, Heading5, Heading6}; use dom::htmlformelement::HTMLFormElement; -use dom::node::{ElementNodeTypeId, NodeHelpers, NodeMethods}; +use dom::node::{ElementNodeTypeId, NodeHelpers}; use dom::types::*; use html::cssparse::{StylesheetProvenance, UrlProvenance, spawn_css_parser}; use page::Page; |