diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-20 04:16:45 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-20 04:16:45 +0800 |
commit | 53335d175e672507e860d16292fca8fb75648e0b (patch) | |
tree | bd8b18bb815349064c54fa009690c2215b614656 /embed/mozilla/EphyBrowser.cpp | |
parent | b0e668237680c11a5e3189d367ea1dbc7544d130 (diff) | |
download | gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar.gz gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar.bz2 gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar.lz gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar.xz gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.tar.zst gsoc2013-epiphany-53335d175e672507e860d16292fca8fb75648e0b.zip |
Use the dom window from the event.
2004-11-19 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyBrowser.cpp:
Use the dom window from the event.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |