aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglshader.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-26 01:32:40 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-26 09:49:08 +0200
commit577370746e2ce3da7fa25a20b8e1bbeed319df65 (patch)
tree8082a48e08b01ad5fbfc29b4bfaf4a47f42f2889 /components/script/dom/webglshader.rs
parent9a7ba89c841cc9ea2e2500813aa844b4d9c35828 (diff)
downloadservo-577370746e2ce3da7fa25a20b8e1bbeed319df65.tar.gz
servo-577370746e2ce3da7fa25a20b8e1bbeed319df65.zip
Rename DOMRefCell<T> to DomRefCell<T>
I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
Diffstat (limited to 'components/script/dom/webglshader.rs')
-rw-r--r--components/script/dom/webglshader.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/webglshader.rs b/components/script/dom/webglshader.rs
index 8f9c0f78f3b..54f2a743446 100644
--- a/components/script/dom/webglshader.rs
+++ b/components/script/dom/webglshader.rs
@@ -5,7 +5,7 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/webgl.idl
use angle::hl::{BuiltInResources, Output, ShaderValidator};
use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLMsgSender, WebGLParameter, WebGLResult, WebGLShaderId};
-use dom::bindings::cell::DOMRefCell;
+use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::WebGLShaderBinding;
use dom::bindings::reflector::reflect_dom_object;
use dom::bindings::root::Root;
@@ -30,8 +30,8 @@ pub struct WebGLShader {
webgl_object: WebGLObject,
id: WebGLShaderId,
gl_type: u32,
- source: DOMRefCell<Option<DOMString>>,
- info_log: DOMRefCell<Option<String>>,
+ source: DomRefCell<Option<DOMString>>,
+ info_log: DomRefCell<Option<String>>,
is_deleted: Cell<bool>,
attached_counter: Cell<u32>,
compilation_status: Cell<ShaderCompilationStatus>,
@@ -57,8 +57,8 @@ impl WebGLShader {
webgl_object: WebGLObject::new_inherited(),
id: id,
gl_type: shader_type,
- source: DOMRefCell::new(None),
- info_log: DOMRefCell::new(None),
+ source: DomRefCell::new(None),
+ info_log: DomRefCell::new(None),
is_deleted: Cell::new(false),
attached_counter: Cell::new(0),
compilation_status: Cell::new(ShaderCompilationStatus::NotCompiled),