Bug 1140804 follow-up: Use final and override instead of the macros which don't exist any more

Landed on a CLOSED TREE to fix bustage.
This commit is contained in:
Ehsan Akhgari 2015-03-24 14:12:17 -04:00
parent 6bcb386c02
commit 39089d4248

View File

@ -417,7 +417,7 @@ private:
nsresult mRv;
};
class CancelWebSocketRunnable MOZ_FINAL : public nsRunnable
class CancelWebSocketRunnable final : public nsRunnable
{
public:
CancelWebSocketRunnable(nsIWebSocketChannel* aChannel, uint16_t aReasonCode,
@ -427,7 +427,7 @@ public:
, mReasonString(aReasonString)
{}
NS_IMETHOD Run() MOZ_OVERRIDE
NS_IMETHOD Run() override
{
mChannel->Close(mReasonCode, mReasonString);
return NS_OK;