Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
This commit is contained in:
9
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
9
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
@@ -280,6 +280,8 @@ public:
|
||||
{}
|
||||
|
||||
private:
|
||||
~nsOfflineCacheDeviceInfo() {}
|
||||
|
||||
nsOfflineCacheDevice* mDevice;
|
||||
};
|
||||
|
||||
@@ -347,6 +349,8 @@ nsOfflineCacheDeviceInfo::GetMaximumSize(uint32_t *aMaximumSize)
|
||||
|
||||
class nsOfflineCacheBinding MOZ_FINAL : public nsISupports
|
||||
{
|
||||
~nsOfflineCacheBinding() {}
|
||||
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
||||
@@ -514,6 +518,8 @@ CreateCacheEntry(nsOfflineCacheDevice *device,
|
||||
|
||||
class nsOfflineCacheEntryInfo MOZ_FINAL : public nsICacheEntryInfo
|
||||
{
|
||||
~nsOfflineCacheEntryInfo() {}
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSICACHEENTRYINFO
|
||||
@@ -892,6 +898,9 @@ nsOfflineCacheDevice::nsOfflineCacheDevice()
|
||||
{
|
||||
}
|
||||
|
||||
nsOfflineCacheDevice::~nsOfflineCacheDevice()
|
||||
{}
|
||||
|
||||
/* static */
|
||||
bool
|
||||
nsOfflineCacheDevice::GetStrictFileOriginPolicy()
|
||||
|
||||
Reference in New Issue
Block a user