diff options
author | rohan.prinja <rohan.prinja@samsung.com> | 2015-10-29 21:48:39 +0900 |
---|---|---|
committer | rohan.prinja <rohan.prinja@samsung.com> | 2015-10-29 21:48:39 +0900 |
commit | 4a4f041948f38818d9616125c1639e1431327d09 (patch) | |
tree | 8a2960a3a9761fddd78cdd2d14ad427bda44e264 /components/script/dom/webglrenderingcontext.rs | |
parent | 430578355b75a3d58bec48b865cccbcf7eb8c990 (diff) | |
download | servo-4a4f041948f38818d9616125c1639e1431327d09.tar.gz servo-4a4f041948f38818d9616125c1639e1431327d09.zip |
remove get_rooted() and replace all references to it with references to get()
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 749885571eb..aa92967cb1e 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -145,8 +145,8 @@ impl WebGLRenderingContext { pub fn bound_texture_for(&self, target: u32) -> Option<Root<WebGLTexture>> { match target { - constants::TEXTURE_2D => self.bound_texture_2d.get_rooted(), - constants::TEXTURE_CUBE_MAP => self.bound_texture_cube_map.get_rooted(), + constants::TEXTURE_2D => self.bound_texture_2d.get(), + constants::TEXTURE_CUBE_MAP => self.bound_texture_cube_map.get(), _ => unreachable!(), } |