This commit is contained in:
danm%netscape.com 2001-02-26 02:00:38 +00:00
Родитель 2885f191ea
Коммит 223c2c7772
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -132,7 +132,7 @@ class nsWindowEnumerator : public nsISimpleEnumerator {
public:
nsWindowEnumerator(nsWindowWatcher *inWatcher);
~nsWindowEnumerator();
virtual ~nsWindowEnumerator();
NS_IMETHOD HasMoreElements(PRBool *retval);
NS_IMETHOD GetNext(nsISupports **retval);
@ -1402,11 +1402,6 @@ nsWindowWatcher::AttachArguments(nsIDOMWindow *aWindow,
if (argc == 0)
return;
JSContext *cx = GetExtantJSContext(aWindow);
NS_ASSERTION(cx, "window missing JSContext");
if (!cx)
return;
// copy the extra parameters into a JS Array and attach it
nsCOMPtr<nsIScriptGlobalObject> scriptGlobal(do_QueryInterface(aWindow));
if (scriptGlobal) {