From afe7822ae1133f596ca74cc21d7348438c694841 Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Thu, 11 Apr 2013 11:01:52 -0700 Subject: [PATCH] Bug 860513 - QI fallback service to nsIPromptFactory in getPrompt. r=mfinkle --- mobile/android/components/PromptService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);