Upgrade to SM 39

This commit is contained in:
Michael Wu 2015-04-06 19:27:56 -04:00
parent a256f39796
commit 675267b782
205 changed files with 6546 additions and 5340 deletions

View file

@ -5,8 +5,8 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/webgl.idl
use dom::bindings::codegen::Bindings::WebGLObjectBinding;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{Temporary};
use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::bindings::js::Root;
#[dom_struct]
pub struct WebGLObject {
@ -20,7 +20,7 @@ impl WebGLObject {
}
}
pub fn new(global: GlobalRef) -> Temporary<WebGLObject> {
pub fn new(global: GlobalRef) -> Root<WebGLObject> {
reflect_dom_object(box WebGLObject::new_inherited(), global, WebGLObjectBinding::Wrap)
}
}