mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1118612 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/promise; r=baku
This commit is contained in:
parent
614790f915
commit
f553c3cff7
@ -788,13 +788,13 @@ public:
|
||||
}
|
||||
|
||||
void
|
||||
ResolvedCallback(JSContext* aCx, JS::Handle<JS::Value> aValue)
|
||||
ResolvedCallback(JSContext* aCx, JS::Handle<JS::Value> aValue) MOZ_OVERRIDE
|
||||
{
|
||||
mCountdownHolder->SetValue(mIndex, aValue);
|
||||
}
|
||||
|
||||
void
|
||||
RejectedCallback(JSContext* aCx, JS::Handle<JS::Value> aValue)
|
||||
RejectedCallback(JSContext* aCx, JS::Handle<JS::Value> aValue) MOZ_OVERRIDE
|
||||
{
|
||||
// Should never be attached to Promise as a reject handler.
|
||||
MOZ_ASSERT(false, "AllResolveHandler should never be attached to a Promise's reject handler!");
|
||||
|
@ -62,7 +62,7 @@ class PromiseWorkerProxy : public PromiseNativeHandler,
|
||||
friend class PromiseWorkerProxyRunnable;
|
||||
|
||||
// This overrides the non-threadsafe refcounting in PromiseNativeHandler.
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(PromiseWorkerProxy)
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(PromiseWorkerProxy, MOZ_OVERRIDE)
|
||||
|
||||
public:
|
||||
static already_AddRefed<PromiseWorkerProxy>
|
||||
|
Loading…
Reference in New Issue
Block a user