Kluge the source to build against mozilla-1.8a1.

This just conditionalizes out the offending code, so
somebody who has a better idea of what's going on
might want to take a closer look at this.
This commit is contained in:
Adam Weinberger 2004-07-07 19:55:31 +00:00
parent 75b8866e22
commit f82a372836
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113160

View File

@ -0,0 +1,16 @@
--- embed/mozilla/EphyBrowser.cpp.orig Wed Jul 7 15:41:04 2004
+++ embed/mozilla/EphyBrowser.cpp Wed Jul 7 15:47:03 2004
@@ -249,11 +249,13 @@
nsCOMPtr<nsPIDOMWindow> piWin(do_QueryInterface(domWindow));
NS_ENSURE_TRUE (piWin, NS_ERROR_FAILURE);
+#if MOZILLA_SNAPSHOT < 18
nsCOMPtr<nsIChromeEventHandler> chromeHandler;
piWin->GetChromeEventHandler(getter_AddRefs(chromeHandler));
mEventReceiver = do_QueryInterface(chromeHandler);
NS_ENSURE_TRUE (mEventReceiver, NS_ERROR_FAILURE);
+#endif
return NS_OK;
}