Bug 978468 - Add some MOZ_FINAL to XBL. r=mrbkap

This commit is contained in:
Andrew McCreight 2014-03-04 09:49:39 -08:00
parent cfe0774568
commit 0dc4d834bc
5 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ class nsAnonymousContentList;
// *********************************************************************/
// The XBLBinding class
class nsXBLBinding
class nsXBLBinding MOZ_FINAL
{
public:
nsXBLBinding(nsXBLPrototypeBinding* aProtoBinding);

View File

@ -15,7 +15,7 @@
class nsXBLPrototypeBinding;
class nsXBLDocGlobalObject;
class nsXBLDocumentInfo : public nsSupportsWeakReference
class nsXBLDocumentInfo MOZ_FINAL : public nsSupportsWeakReference
{
public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS

View File

@ -15,7 +15,7 @@
class nsXBLPrototypeBinding;
class nsXBLProtoImplAnonymousMethod;
class nsXBLProtoImpl
class nsXBLProtoImpl MOZ_FINAL
{
public:
nsXBLProtoImpl()

View File

@ -31,7 +31,7 @@ class nsXBLProtoImplField;
// Instances of this class are owned by the nsXBLDocumentInfo object returned
// by XBLDocumentInfo(). Consumers who want to refcount things should refcount
// that.
class nsXBLPrototypeBinding
class nsXBLPrototypeBinding MOZ_FINAL
{
public:
nsIContent* GetBindingElement() const { return mBinding; }

View File

@ -32,8 +32,8 @@ class EventTarget;
}
}
class nsXBLService : public nsIObserver,
public nsSupportsWeakReference
class nsXBLService MOZ_FINAL : public nsIObserver,
public nsSupportsWeakReference
{
NS_DECL_ISUPPORTS