diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2018-03-07 11:54:01 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-14 12:42:38 +0100 |
commit | 07148526de8085dc4e36169560805d541d272624 (patch) | |
tree | e61b5e06473295d09fcb9517d788ecc7fedeab57 /dom/canvas/WebGLObjectModel.h | |
parent | ece34cca42e69ed882694a0e735c83a1ab61550e (diff) | |
download | UXP-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.h | 12 |
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 |