Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
# include "nsThreadManager.h"
|
||||
@@ -220,7 +221,7 @@ NS_ProcessNextEvent(nsIThread *thread, bool mayWait)
|
||||
|
||||
namespace {
|
||||
|
||||
class nsNameThreadRunnable : public nsIRunnable
|
||||
class nsNameThreadRunnable MOZ_FINAL : public nsIRunnable
|
||||
{
|
||||
public:
|
||||
nsNameThreadRunnable(const nsACString &name) : mName(name) { }
|
||||
|
||||
Reference in New Issue
Block a user