mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 1139603: Add MOZ_OVERRIDE annotations in CacheParent.h and QuotaClient.cpp to fix clang -Winconsistent-missing-override. r=ehsan
This commit is contained in:
parent
5ca39a7a39
commit
76ce9ce1fc
3
dom/cache/CacheParent.h
vendored
3
dom/cache/CacheParent.h
vendored
@ -46,7 +46,8 @@ private:
|
||||
RecvAddAll(const RequestId& aRequestId,
|
||||
nsTArray<PCacheRequest>&& aRequests) MOZ_OVERRIDE;
|
||||
virtual bool
|
||||
RecvPut(const RequestId& aRequestId, const CacheRequestResponse& aPut);
|
||||
RecvPut(const RequestId& aRequestId,
|
||||
const CacheRequestResponse& aPut) MOZ_OVERRIDE;
|
||||
virtual bool
|
||||
RecvDelete(const RequestId& aRequestId, const PCacheRequest& aRequest,
|
||||
const PCacheQueryParams& aParams) MOZ_OVERRIDE;
|
||||
|
2
dom/cache/QuotaClient.cpp
vendored
2
dom/cache/QuotaClient.cpp
vendored
@ -194,7 +194,7 @@ private:
|
||||
~CacheQuotaClient() { }
|
||||
|
||||
public:
|
||||
NS_INLINE_DECL_REFCOUNTING(CacheQuotaClient)
|
||||
NS_INLINE_DECL_REFCOUNTING(CacheQuotaClient, MOZ_OVERRIDE)
|
||||
};
|
||||
|
||||
} // anonymous namespace;
|
||||
|
Loading…
Reference in New Issue
Block a user