Bug 1515376 - remove aggregation support from nsProperties; r=mccr8

This support is currently unused.
This commit is contained in:
Nathan Froyd 2018-12-19 13:16:43 -05:00
Родитель c074144472
Коммит 5b851f9038
2 изменённых файлов: 6 добавлений и 8 удалений

Просмотреть файл

@ -8,10 +8,7 @@
////////////////////////////////////////////////////////////////////////////////
NS_IMPL_AGGREGATED(nsProperties)
NS_INTERFACE_MAP_BEGIN_AGGREGATED(nsProperties)
NS_INTERFACE_MAP_ENTRY(nsIProperties)
NS_INTERFACE_MAP_END
NS_IMPL_ISUPPORTS(nsProperties, nsIProperties)
NS_IMETHODIMP
nsProperties::Get(const char* prop, const nsIID& uuid, void** result) {

Просмотреть файл

@ -10,7 +10,6 @@
#include "nsIProperties.h"
#include "nsInterfaceHashtable.h"
#include "nsHashKeys.h"
#include "nsAgg.h"
#include "mozilla/Attributes.h"
typedef nsInterfaceHashtable<nsCharPtrHashKey, nsISupports>
@ -18,11 +17,13 @@ typedef nsInterfaceHashtable<nsCharPtrHashKey, nsISupports>
class nsProperties final : public nsIProperties, public nsProperties_HashBase {
public:
NS_DECL_AGGREGATED
NS_DECL_ISUPPORTS
NS_DECL_NSIPROPERTIES
nsProperties() { NS_INIT_AGGREGATED(nullptr); }
~nsProperties() {}
nsProperties() = default;
private:
~nsProperties() = default;
};
#endif /* nsProperties_h___ */