mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
This commit is contained in:
@@ -8,10 +8,10 @@ use dom::bindings::codegen::InheritTypes::{HTMLElementCast, HTMLTableSectionElem
|
||||
use dom::bindings::js::{JSRef, Temporary};
|
||||
use dom::bindings::utils::{Reflectable, Reflector};
|
||||
use dom::document::Document;
|
||||
use dom::element::HTMLTableSectionElementTypeId;
|
||||
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
|
||||
use dom::element::ElementTypeId;
|
||||
use dom::eventtarget::{EventTarget, EventTargetTypeId};
|
||||
use dom::htmlelement::HTMLElement;
|
||||
use dom::node::{Node, ElementNodeTypeId};
|
||||
use dom::node::{Node, NodeTypeId};
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
|
||||
use cssparser::RGBA;
|
||||
@@ -26,7 +26,7 @@ pub struct HTMLTableSectionElement {
|
||||
|
||||
impl HTMLTableSectionElementDerived for EventTarget {
|
||||
fn is_htmltablesectionelement(&self) -> bool {
|
||||
*self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLTableSectionElementTypeId))
|
||||
*self.type_id() == EventTargetTypeId::Node(NodeTypeId::Element(ElementTypeId::HTMLTableSectionElement))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ impl HTMLTableSectionElement {
|
||||
fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>)
|
||||
-> HTMLTableSectionElement {
|
||||
HTMLTableSectionElement {
|
||||
htmlelement: HTMLElement::new_inherited(HTMLTableSectionElementTypeId,
|
||||
htmlelement: HTMLElement::new_inherited(ElementTypeId::HTMLTableSectionElement,
|
||||
localName,
|
||||
prefix,
|
||||
document),
|
||||
|
||||
Reference in New Issue
Block a user