aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
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);