Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.

This commit is contained in:
Ms2ger 2014-12-17 10:42:52 +01:00 committed by Josh Matthews
parent b8900782b0
commit 466faac2a5
223 changed files with 4414 additions and 4105 deletions

View file

@ -12,7 +12,7 @@ use dom::bindings::global;
use dom::bindings::js::{MutNullableJS, JSRef, RootedReference, Temporary, OptionalSettable};
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::event::{Event, EventTypeId, UIEventTypeId};
use dom::event::{Event, EventTypeId};
use dom::window::Window;
use servo_util::str::DOMString;
@ -28,7 +28,7 @@ pub struct UIEvent {
impl UIEventDerived for Event {
fn is_uievent(&self) -> bool {
*self.type_id() == UIEventTypeId
*self.type_id() == EventTypeId::UIEvent
}
}
@ -42,7 +42,7 @@ impl UIEvent {
}
pub fn new_uninitialized(window: JSRef<Window>) -> Temporary<UIEvent> {
reflect_dom_object(box UIEvent::new_inherited(UIEventTypeId),
reflect_dom_object(box UIEvent::new_inherited(EventTypeId::UIEvent),
global::Window(window),
UIEventBinding::Wrap)
}