mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Upgrade to SM 39
This commit is contained in:
parent
a256f39796
commit
675267b782
205 changed files with 6546 additions and 5340 deletions
|
@ -6,7 +6,7 @@
|
|||
use dom::bindings::codegen::Bindings::WebGLActiveInfoBinding;
|
||||
use dom::bindings::codegen::Bindings::WebGLActiveInfoBinding::WebGLActiveInfoMethods;
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::js::{Temporary, JSRef};
|
||||
use dom::bindings::js::Root;
|
||||
use dom::bindings::utils::{Reflector,reflect_dom_object};
|
||||
use util::str::DOMString;
|
||||
|
||||
|
@ -29,12 +29,12 @@ impl WebGLActiveInfo {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(global: GlobalRef, size: i32, ty: u32, name: String) -> Temporary<WebGLActiveInfo> {
|
||||
pub fn new(global: GlobalRef, size: i32, ty: u32, name: String) -> Root<WebGLActiveInfo> {
|
||||
reflect_dom_object(box WebGLActiveInfo::new_inherited(size, ty, name), global, WebGLActiveInfoBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> WebGLActiveInfoMethods for JSRef<'a, WebGLActiveInfo> {
|
||||
impl<'a> WebGLActiveInfoMethods for &'a WebGLActiveInfo {
|
||||
fn Size(self) -> i32 {
|
||||
self.size
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue