diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-04-29 02:09:59 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-04-29 02:09:59 +0800 |
commit | 2ed2444c86a67c837e463e71e432308c7ec30cf6 (patch) | |
tree | 5f812a74e0eb6b9608afdfa6913165b19271aea4 /embed/mozilla/mozilla-embed.cpp | |
parent | b2302a8421c32889c9f22c28270771b35dea6864 (diff) | |
download | gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar.gz gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar.bz2 gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar.lz gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar.xz gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.tar.zst gsoc2013-epiphany-2ed2444c86a67c837e463e71e432308c7ec30cf6.zip |
Ensure we have a DOM window before trying to get his url. The check was
2004-04-28 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/mozilla-embed.cpp:
Ensure we have a DOM window before trying to
get his url. The check was not working anymore
because of initialization changes.
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index b8f00932b..ca0508f4c 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -485,8 +485,6 @@ impl_get_location (EphyEmbed *embed, nsresult rv; nsCAutoString url; - if (mpriv->browser == NULL) return NULL; - if (toplevel) { rv = mpriv->browser->GetDocumentUrl (url); |