aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglframebuffer.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-12-11 01:19:04 -1000
committerAnthony Ramine <n.oxyde@gmail.com>2016-12-12 10:47:54 -1000
commit1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f (patch)
treecaa0933e802d9cdb5791fb465a051be5cf8e05f7 /components/script/dom/webglframebuffer.rs
parentf7d53b7bc18f10bac98b038c94f46f09fc02e002 (diff)
downloadservo-1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f.tar.gz
servo-1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f.zip
Remove HeapGCValue
It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
Diffstat (limited to 'components/script/dom/webglframebuffer.rs')
-rw-r--r--components/script/dom/webglframebuffer.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/dom/webglframebuffer.rs b/components/script/dom/webglframebuffer.rs
index 02a767958e2..2f18362122d 100644
--- a/components/script/dom/webglframebuffer.rs
+++ b/components/script/dom/webglframebuffer.rs
@@ -7,7 +7,7 @@ use canvas_traits::CanvasMsg;
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::WebGLFramebufferBinding;
use dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextConstants as constants;
-use dom::bindings::js::{HeapGCValue, JS, Root};
+use dom::bindings::js::{JS, Root};
use dom::bindings::reflector::reflect_dom_object;
use dom::webglobject::WebGLObject;
use dom::webglrenderbuffer::WebGLRenderbuffer;
@@ -25,8 +25,6 @@ enum WebGLFramebufferAttachment {
Texture { texture: JS<WebGLTexture>, level: i32 },
}
-impl HeapGCValue for WebGLFramebufferAttachment {}
-
#[dom_struct]
pub struct WebGLFramebuffer {
webgl_object: WebGLObject,