Trying to fix bustage, Bug 363067

This commit is contained in:
Olli.Pettay%helsinki.fi 2007-02-16 00:11:07 +00:00
Родитель a33901a68d
Коммит 3585eaa57a
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -76,7 +76,7 @@
#include "nsIWebBrowserSetup.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIChromeEventHandler.h"
#include "nsPIDOMEventTarget.h"
#include "nsPIDOMWindow.h"
#include "nsIDOMEventReceiver.h"
#include "nsIWebProgressListener.h"
@ -399,7 +399,7 @@ enum {
nsCOMPtr<nsIDOMWindow> contentWindow = [[self getBrowserView] getContentWindow];
nsCOMPtr<nsPIDOMWindow> piWindow(do_QueryInterface(contentWindow));
nsIChromeEventHandler *chromeHandler = piWindow->GetChromeEventHandler();
nsPIDOMEventTarget *chromeHandler = piWindow->GetChromeEventHandler();
nsCOMPtr<nsIDOMEventReceiver> rec(do_QueryInterface(chromeHandler));
if ( rec )
rec->AddEventListenerByIID(clickListener, NS_GET_IID(nsIDOMMouseListener));

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

@ -55,7 +55,7 @@
#include "nsIDocument.h"
#include "nsIDOMWindow.h"
#include "nsPIDOMWindow.h"
#include "nsIChromeEventHandler.h"
#include "nsPIDOMEventTarget.h"
#include "nsIDOMEventReceiver.h"
#include "nsIWidget.h"
#include "nsIPrefBranch.h"
@ -239,7 +239,7 @@ const char kDirServiceContractID[] = "@mozilla.org/file/directory_service;1";
nsCOMPtr<nsIDOMWindow> contentWindow = [self getContentWindow];
nsCOMPtr<nsPIDOMWindow> piWindow(do_QueryInterface(contentWindow));
nsIChromeEventHandler *chromeHandler = piWindow->GetChromeEventHandler();
nsPIDOMEventTarget *chromeHandler = piWindow->GetChromeEventHandler();
nsCOMPtr<nsIDOMEventReceiver> rec(do_QueryInterface(chromeHandler));
if ( rec )
rec->AddEventListenerByIID(clickListener, NS_GET_IID(nsIDOMMouseListener));