Skip to content

Commit

Permalink
Bug 978468 - Add some MOZ_FINAL to XBL. r=mrbkap
Browse files Browse the repository at this point in the history
  • Loading branch information
amccreight committed Mar 4, 2014
1 parent 2b8bd73 commit bcfecf4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dom/xbl/nsXBLBinding.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class nsAnonymousContentList;
// *********************************************************************/
// The XBLBinding class

class nsXBLBinding
class nsXBLBinding MOZ_FINAL
{
public:
nsXBLBinding(nsXBLPrototypeBinding* aProtoBinding);
Expand Down
2 changes: 1 addition & 1 deletion dom/xbl/nsXBLDocumentInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class nsXBLPrototypeBinding;
class nsXBLDocGlobalObject;

class nsXBLDocumentInfo : public nsSupportsWeakReference
class nsXBLDocumentInfo MOZ_FINAL : public nsSupportsWeakReference
{
public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
Expand Down
2 changes: 1 addition & 1 deletion dom/xbl/nsXBLProtoImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class nsXBLPrototypeBinding;
class nsXBLProtoImplAnonymousMethod;

class nsXBLProtoImpl
class nsXBLProtoImpl MOZ_FINAL
{
public:
nsXBLProtoImpl()
Expand Down
2 changes: 1 addition & 1 deletion dom/xbl/nsXBLPrototypeBinding.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
4 changes: 2 additions & 2 deletions dom/xbl/nsXBLService.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class EventTarget;
}
}

class nsXBLService : public nsIObserver,
public nsSupportsWeakReference
class nsXBLService MOZ_FINAL : public nsIObserver,
public nsSupportsWeakReference
{
NS_DECL_ISUPPORTS

Expand Down

0 comments on commit bcfecf4

Please sign in to comment.