Bug 1118430 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/fetch; r=baku

This commit is contained in:
Ehsan Akhgari 2015-01-06 15:16:29 -05:00
parent 535fe9c758
commit 9e77f6568d
3 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ public:
mInternalHeaders->SetGuard(aGuard, aRv);
}
virtual JSObject* WrapObject(JSContext* aCx);
virtual JSObject* WrapObject(JSContext* aCx) MOZ_OVERRIDE;
nsISupports* GetParentObject() const { return mOwner; }
private:

View File

@ -36,7 +36,7 @@ public:
Request(nsIGlobalObject* aOwner, InternalRequest* aRequest);
JSObject*
WrapObject(JSContext* aCx)
WrapObject(JSContext* aCx) MOZ_OVERRIDE
{
return RequestBinding::Wrap(aCx, this);
}

View File

@ -37,7 +37,7 @@ public:
Response(const Response& aOther) MOZ_DELETE;
JSObject*
WrapObject(JSContext* aCx)
WrapObject(JSContext* aCx) MOZ_OVERRIDE
{
return ResponseBinding::Wrap(aCx, this);
}