From 4923320e0a9e03064e748234f1652843a3b052e3 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sat, 23 Jan 2016 18:16:28 -0500 Subject: [PATCH] Bug 1242210 - Mark RootedTypedArray as final; r=baku --- dom/bindings/TypedArray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/bindings/TypedArray.h b/dom/bindings/TypedArray.h index 8305dff47646..89d6b087348b 100644 --- a/dom/bindings/TypedArray.h +++ b/dom/bindings/TypedArray.h @@ -412,8 +412,8 @@ private: // Class for easily setting up a rooted typed array object on the stack template -class MOZ_RAII RootedTypedArray : public ArrayType, - private TypedArrayRooter +class MOZ_RAII RootedTypedArray final : public ArrayType, + private TypedArrayRooter { public: explicit RootedTypedArray(JSContext* cx MOZ_GUARD_OBJECT_NOTIFIER_PARAM) :