mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860513 - QI fallback service to nsIPromptFactory in getPrompt. r=mfinkle
This commit is contained in:
parent
af15a3fcab
commit
afe7822ae1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user