Bug 1026350 followup: Add missing 'override' annotations to helper classes in FakeInputPortService.cpp. rs=ehsan

This commit is contained in:
Daniel Holbert 2015-04-10 09:37:05 -07:00
parent 40b3526c5e
commit 371ddc6c49

View File

@ -31,7 +31,7 @@ public:
MOZ_ASSERT(aDataList);
}
NS_IMETHOD Run()
NS_IMETHOD Run() override
{
if (mErrorCode == nsIInputPortServiceCallback::INPUTPORT_ERROR_OK) {
return mCallback->NotifySuccess(mDataList);
@ -60,7 +60,7 @@ public:
{}
NS_IMETHODIMP
Notify(nsITimer* aTimer)
Notify(nsITimer* aTimer) override
{
InputPortData* portData = static_cast<InputPortData*>(mInputPortData.get());
portData->SetConnected(mIsConnected);