From ba74a1cd36b676f6a49c07e7346e5e3000286c2e Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Tue, 11 Jun 2024 15:35:32 -0500 Subject: [PATCH] [PM-5189] Refactoring implementation --- .../content/autofill-inline-menu-content.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts b/apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts index 2469bd54dfc..910b70f529e 100644 --- a/apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts +++ b/apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts @@ -151,7 +151,7 @@ export class AutofillInlineMenuContentService implements AutofillInlineMenuConte */ private async appendButtonElement(): Promise { if (!this.buttonElement) { - this.createButton(); + this.createButtonElement(); this.updateCustomElementDefaultStyles(this.buttonElement); } @@ -166,7 +166,7 @@ export class AutofillInlineMenuContentService implements AutofillInlineMenuConte */ private async appendListElement(): Promise { if (!this.listElement) { - this.createList(); + this.createListElement(); this.updateCustomElementDefaultStyles(this.listElement); } @@ -192,7 +192,7 @@ export class AutofillInlineMenuContentService implements AutofillInlineMenuConte * Creates the autofill inline menu button element. Will not attempt * to create the element if it already exists in the DOM. */ - private createButton() { + private createButtonElement() { if (this.isFirefoxBrowser) { this.buttonElement = globalThis.document.createElement("div"); new AutofillInlineMenuButtonIframe(this.buttonElement); @@ -217,7 +217,7 @@ export class AutofillInlineMenuContentService implements AutofillInlineMenuConte * Creates the autofill inline menu list element. Will not attempt * to create the element if it already exists in the DOM. */ - private createList() { + private createListElement() { if (this.isFirefoxBrowser) { this.listElement = globalThis.document.createElement("div"); new AutofillInlineMenuListIframe(this.listElement);