summaryrefslogtreecommitdiffstats
path: root/dom/canvas/WebGLObjectModel.h
diff options
context:
space:
mode:
authorJeff Muizelaar <jmuizelaar@mozilla.com>2018-03-07 11:54:01 -0500
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 12:42:38 +0100
commit07148526de8085dc4e36169560805d541d272624 (patch)
treee61b5e06473295d09fcb9517d788ecc7fedeab57 /dom/canvas/WebGLObjectModel.h
parentece34cca42e69ed882694a0e735c83a1ab61550e (diff)
downloadUXP-07148526de8085dc4e36169560805d541d272624.tar
UXP-07148526de8085dc4e36169560805d541d272624.tar.gz
UXP-07148526de8085dc4e36169560805d541d272624.tar.lz
UXP-07148526de8085dc4e36169560805d541d272624.tar.xz
UXP-07148526de8085dc4e36169560805d541d272624.zip
Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
Diffstat (limited to 'dom/canvas/WebGLObjectModel.h')
-rw-r--r--dom/canvas/WebGLObjectModel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/canvas/WebGLObjectModel.h b/dom/canvas/WebGLObjectModel.h
index e19d2fd8e..b18b790c0 100644
--- a/dom/canvas/WebGLObjectModel.h
+++ b/dom/canvas/WebGLObjectModel.h
@@ -15,6 +15,7 @@ namespace mozilla {
template<typename> class LinkedList;
class WebGLContext;
+
////
// This class is a mixin for objects that are tied to a specific
@@ -355,6 +356,16 @@ ImplCycleCollectionUnlink(mozilla::WebGLRefPtr<T>& field)
template <typename T>
inline void
ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& callback,
+ mozilla::WebGLRefPtr<T>& field,
+ const char* name,
+ uint32_t flags = 0)
+{
+ CycleCollectionNoteChild(callback, field.get(), name, flags);
+}
+
+template <typename T>
+inline void
+ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& callback,
const mozilla::WebGLRefPtr<T>& field,
const char* name,
uint32_t flags = 0)
@@ -362,4 +373,5 @@ ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& callback,
CycleCollectionNoteChild(callback, field.get(), name, flags);
}
+
#endif