diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-11-19 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyBrowser.cpp: + + Use the dom window from the event. + +2004-11-19 Christian Persch <chpe@cvs.gnome.org> + * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index e94eefd73..8dffaa74d 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -236,7 +236,7 @@ EphyFaviconEventListener::HandleEvent(nsIDOMEvent* aDOMEvent) PRBool shouldLoad = PR_FALSE; rv = policy->ShouldLoad (nsIContentPolicy::IMAGE, favUri, eventTarget, - mOwner->mDOMWindow, + domWin, &shouldLoad); NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE); if (!shouldLoad) return NS_OK; |