Rename Reflectable::global_scope to global

This commit is contained in:
Anthony Ramine 2016-10-05 11:06:25 +02:00
parent b6bbd41e11
commit d8e92bb271
37 changed files with 151 additions and 151 deletions

View file

@ -230,7 +230,7 @@ impl WebGLProgram {
.unwrap();
receiver.recv().unwrap().map(|(size, ty, name)|
WebGLActiveInfo::new(&self.global_scope(), size, ty, DOMString::from(name)))
WebGLActiveInfo::new(&self.global(), size, ty, DOMString::from(name)))
}
/// glGetActiveAttrib
@ -244,7 +244,7 @@ impl WebGLProgram {
.unwrap();
receiver.recv().unwrap().map(|(size, ty, name)|
WebGLActiveInfo::new(&self.global_scope(), size, ty, DOMString::from(name)))
WebGLActiveInfo::new(&self.global(), size, ty, DOMString::from(name)))
}
/// glGetAttribLocation