mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1283151 - make nsTimerEvent final; r=tbsaunde
Nothing should be deriving from nsTimerEvent, and perhaps this will make some of the timer code slightly more efficient.
This commit is contained in:
parent
7f85dca70f
commit
bab285064e
@ -134,7 +134,7 @@ public:
|
||||
// This is a nsICancelableRunnable because we can dispatch it to Workers and
|
||||
// those can be shut down at any time, and in these cases, Cancel() is called
|
||||
// instead of Run().
|
||||
class nsTimerEvent : public CancelableRunnable
|
||||
class nsTimerEvent final : public CancelableRunnable
|
||||
{
|
||||
public:
|
||||
NS_IMETHOD Run() override;
|
||||
|
Loading…
Reference in New Issue
Block a user