Bug 860513 - QI fallback service to nsIPromptFactory in getPrompt. r=mfinkle

This commit is contained in:
Nick Alexander 2013-04-11 11:01:52 -07:00
parent af15a3fcab
commit afe7822ae1

View File

@ -38,7 +38,7 @@ PromptService.prototype = {
let doc = this.getDocument(); let doc = this.getDocument();
if (!doc) { if (!doc) {
let fallback = this._getFallbackService(); let fallback = this._getFallbackService();
return fallback.getPrompt(domWin, iid); return fallback.QueryInterface(Ci.nsIPromptFactory).getPrompt(domWin, iid);
} }
let p = new Prompt(domWin, doc); let p = new Prompt(domWin, doc);