mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
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 (ipc parts); blanket-r=bzbarsky
--HG-- extra : rebase_source : 232de4000988dfa5cb45114ff36730d001fbd79b
This commit is contained in:
parent
bf1a9c264b
commit
7b53fb63a9
@ -15,14 +15,15 @@
|
||||
#include "nsIRunnable.h"
|
||||
#include "nsIThread.h"
|
||||
#include "nsITimer.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace ipc {
|
||||
|
||||
class MessagePump;
|
||||
|
||||
class DoWorkRunnable : public nsIRunnable,
|
||||
public nsITimerCallback
|
||||
class DoWorkRunnable MOZ_FINAL : public nsIRunnable,
|
||||
public nsITimerCallback
|
||||
{
|
||||
public:
|
||||
DoWorkRunnable(MessagePump* aPump)
|
||||
|
Loading…
x
Reference in New Issue
Block a user