зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1515376 - remove aggregation support from nsProperties; r=mccr8
This support is currently unused.
This commit is contained in:
Родитель
c074144472
Коммит
5b851f9038
|
@ -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___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче