Skip to content

Commit

Permalink
Fix misspelled "get_suported_extensions" function
Browse files Browse the repository at this point in the history
closes #21122
  • Loading branch information
dralley committed Apr 6, 2020
1 parent 50ea9fc commit d0890db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/webgl_extensions/extensions.rs
Expand Up @@ -178,7 +178,7 @@ impl WebGLExtensions {
.insert(name, Box::new(TypedWebGLExtensionWrapper::<T>::new()));
}

pub fn get_suported_extensions(&self) -> Vec<&'static str> {
pub fn get_supported_extensions(&self) -> Vec<&'static str> {
self.extensions
.borrow()
.iter()
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webglrenderingcontext.rs
Expand Up @@ -1915,7 +1915,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
fn GetSupportedExtensions(&self) -> Option<Vec<DOMString>> {
self.extension_manager
.init_once(|| self.get_gl_extensions());
let extensions = self.extension_manager.get_suported_extensions();
let extensions = self.extension_manager.get_supported_extensions();
Some(
extensions
.iter()
Expand Down

0 comments on commit d0890db

Please sign in to comment.