mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
Bug 1299363 - Part 3: Remove unused argument in UpgradeCandidates.
Tag UXP Issue #1344
This commit is contained in:
parent
a35a4e8f12
commit
9fc88d01e3
2 changed files with 3 additions and 5 deletions
|
|
@ -408,8 +408,7 @@ CustomElementRegistry::GetCustomPrototype(nsIAtom* aAtom,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
CustomElementRegistry::UpgradeCandidates(JSContext* aCx,
|
CustomElementRegistry::UpgradeCandidates(nsIAtom* aKey,
|
||||||
nsIAtom* aKey,
|
|
||||||
CustomElementDefinition* aDefinition,
|
CustomElementDefinition* aDefinition,
|
||||||
ErrorResult& aRv)
|
ErrorResult& aRv)
|
||||||
{
|
{
|
||||||
|
|
@ -719,7 +718,7 @@ CustomElementRegistry::Define(const nsAString& aName,
|
||||||
* 13. 14. 15. Upgrade candidates
|
* 13. 14. 15. Upgrade candidates
|
||||||
*/
|
*/
|
||||||
// TODO: Bug 1299363 - Implement custom element v1 upgrade algorithm
|
// TODO: Bug 1299363 - Implement custom element v1 upgrade algorithm
|
||||||
UpgradeCandidates(cx, nameAtom, definition, aRv);
|
UpgradeCandidates(nameAtom, definition, aRv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 16. If this CustomElementRegistry's when-defined promise map contains an
|
* 16. If this CustomElementRegistry's when-defined promise map contains an
|
||||||
|
|
|
||||||
|
|
@ -346,8 +346,7 @@ private:
|
||||||
void RegisterUnresolvedElement(Element* aElement,
|
void RegisterUnresolvedElement(Element* aElement,
|
||||||
nsIAtom* aTypeName = nullptr);
|
nsIAtom* aTypeName = nullptr);
|
||||||
|
|
||||||
void UpgradeCandidates(JSContext* aCx,
|
void UpgradeCandidates(nsIAtom* aKey,
|
||||||
nsIAtom* aKey,
|
|
||||||
CustomElementDefinition* aDefinition,
|
CustomElementDefinition* aDefinition,
|
||||||
ErrorResult& aRv);
|
ErrorResult& aRv);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue