зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1049072 - nsNameSpaceManager doesn't need virtual methods. r=peterv
This is ancient residue from when this class was nsISupports. Differential Revision: https://phabricator.services.mozilla.com/D129029
This commit is contained in:
Родитель
b43355853f
Коммит
0f6cb7fc4e
|
@ -33,12 +33,11 @@ class nsNameSpaceManager final {
|
|||
public:
|
||||
NS_INLINE_DECL_REFCOUNTING(nsNameSpaceManager)
|
||||
|
||||
virtual nsresult RegisterNameSpace(const nsAString& aURI,
|
||||
int32_t& aNameSpaceID);
|
||||
nsresult RegisterNameSpace(const nsAString& aURI, int32_t& aNameSpaceID);
|
||||
nsresult RegisterNameSpace(already_AddRefed<nsAtom> aURI,
|
||||
int32_t& aNameSpaceID);
|
||||
|
||||
virtual nsresult GetNameSpaceURI(int32_t aNameSpaceID, nsAString& aURI);
|
||||
nsresult GetNameSpaceURI(int32_t aNameSpaceID, nsAString& aURI);
|
||||
|
||||
// Returns the atom for the namespace URI associated with the given ID. The
|
||||
// ID must be within range and not be kNameSpaceID_None (i.e. zero);
|
||||
|
|
Загрузка…
Ссылка в новой задаче