aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-20 04:16:45 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-20 04:16:45 +0800
commit53335d175e672507e860d16292fca8fb75648e0b (patch)
treebd8b18bb815349064c54fa009690c2215b614656 /embed/mozilla/EphyBrowser.cpp
parentb0e668237680c11a5e3189d367ea1dbc7544d130 (diff)
downloadgsoc2013-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.cpp2
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;