15 lines
369 B
Diff
15 lines
369 B
Diff
Index: embed/mozilla/mozilla-embed.cpp
|
|
================================================================================
|
|
--- embed/mozilla/mozilla-embed.cpp
|
|
+++ embed/mozilla/mozilla-embed.cpp
|
|
@@ -485,6 +485,9 @@
|
|
MozillaEmbedPrivate *mpriv = MOZILLA_EMBED(embed)->priv;
|
|
nsresult rv;
|
|
|
|
+ if(!mpriv->browser)
|
|
+ return 0;
|
|
+
|
|
nsCOMPtr<nsIURI> uri;
|
|
if (toplevel)
|
|
{
|