mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1119254 - Mark virtual overridden functions as MOZ_OVERRIDE in xpcom; r=froydnj
This commit is contained in:
parent
2379621af0
commit
f187581528
@ -35,8 +35,8 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
// IFoo implementation
|
||||
NS_IMETHOD_(MozExternalRefCountType) RefCnt() { return mRefCnt; }
|
||||
NS_IMETHOD_(int32_t) ID() { return mID; }
|
||||
NS_IMETHOD_(MozExternalRefCountType) RefCnt() MOZ_OVERRIDE { return mRefCnt; }
|
||||
NS_IMETHOD_(int32_t) ID() MOZ_OVERRIDE { return mID; }
|
||||
|
||||
static int32_t gCount;
|
||||
|
||||
|
@ -96,9 +96,9 @@ public:
|
||||
|
||||
NS_IMETHOD CreateInstance(nsISupports* aDelegate,
|
||||
const nsIID& aIID,
|
||||
void** aResult);
|
||||
void** aResult) MOZ_OVERRIDE;
|
||||
|
||||
NS_IMETHOD LockFactory(bool aLock) {
|
||||
NS_IMETHOD LockFactory(bool aLock) MOZ_OVERRIDE {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
TimerCallback(nsIThread** aThreadPtr, ReentrantMonitor* aReentrantMonitor)
|
||||
: mThreadPtr(aThreadPtr), mReentrantMonitor(aReentrantMonitor) { }
|
||||
|
||||
NS_IMETHOD Notify(nsITimer* aTimer) {
|
||||
NS_IMETHOD Notify(nsITimer* aTimer) MOZ_OVERRIDE {
|
||||
NS_ASSERTION(mThreadPtr, "Callback was not supposed to be called!");
|
||||
nsCOMPtr<nsIThread> current(do_GetCurrentThread());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user