Bug 231893 - Allow QI to nsISupports.
r+sr=blake p=116057@bacon.qcc.mass.edu (Justin Wood)
This commit is contained in:
Родитель
5896c71a2f
Коммит
d9b0e617fb
|
@ -102,7 +102,9 @@ var progressListener = {
|
|||
|
||||
QueryInterface: function (iid)
|
||||
{
|
||||
if (iid.equals(Components.interfaces.nsIWebProgressListener) || iid.equals(Components.interfaces.nsISupportsWeakReference))
|
||||
if (iid.equals(Components.interfaces.nsIWebProgressListener) ||
|
||||
iid.equals(Components.interfaces.nsISupportsWeakReference) ||
|
||||
iid.equals(Components.interfaces.nsISupports))
|
||||
return this;
|
||||
throw Components.results.NS_NOINTERFACE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче