diff --git a/mobile/android/components/PromptService.js b/mobile/android/components/PromptService.js index 14757a1b807..83957b4e224 100644 --- a/mobile/android/components/PromptService.js +++ b/mobile/android/components/PromptService.js @@ -38,7 +38,7 @@ PromptService.prototype = { let doc = this.getDocument(); if (!doc) { let fallback = this._getFallbackService(); - return fallback.getPrompt(domWin, iid); + return fallback.QueryInterface(Ci.nsIPromptFactory).getPrompt(domWin, iid); } let p = new Prompt(domWin, doc);