Skip to content

Commit

Permalink
update to namespaced enums without re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Dec 19, 2014
1 parent 8ad4b97 commit 8394d45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/script/dom/htmlscriptelement.rs
Expand Up @@ -13,7 +13,7 @@ use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
use dom::bindings::codegen::InheritTypes::{HTMLScriptElementDerived, HTMLScriptElementCast};
use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, NodeCast};
use dom::bindings::codegen::InheritTypes::EventTargetCast;
use dom::bindings::global::Window;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary, OptionalRootable};
use dom::bindings::utils::{Reflectable, Reflector};
use dom::document::Document;
Expand Down Expand Up @@ -210,7 +210,7 @@ impl<'a> HTMLScriptElementHelpers for JSRef<'a, HTMLScriptElement> {

window.evaluate_script_with_result(source.as_slice(), url.serialize().as_slice());

let event = Event::new(Window(*window),
let event = Event::new(GlobalRef::Window(*window),
"load".to_string(),
EventBubbles::DoesNotBubble,
EventCancelable::NotCancelable).root();
Expand Down

5 comments on commit 8394d45

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jdm
at eddyb@8394d45

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging eddyb/servo/script-onload = 8394d45 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eddyb/servo/script-onload = 8394d45 merged ok, testing candidate = 7317518

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 7317518

Please sign in to comment.