diff options
Diffstat (limited to 'js/src/gc/Heap.h')
-rw-r--r-- | js/src/gc/Heap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/gc/Heap.h b/js/src/gc/Heap.h index 208941532..2f2770260 100644 --- a/js/src/gc/Heap.h +++ b/js/src/gc/Heap.h @@ -280,13 +280,13 @@ struct Cell template<class T> inline T* as() { - MOZ_ASSERT(is<T>()); + MOZ_ASSERT(this->is<T>()); return static_cast<T*>(this); } template <class T> inline const T* as() const { - MOZ_ASSERT(is<T>()); + MOZ_ASSERT(this->is<T>()); return static_cast<const T*>(this); } |