diff options
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index c83e60d88..3d9d8b443 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -366,6 +366,7 @@ EphyDOMLinkEventListener::HandleEvent (nsIDOMEvent* aDOMEvent) NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE); if (decision != nsIContentPolicy::ACCEPT) return NS_OK; + NS_ENSURE_TRUE (mOwner->mFixup, NS_OK); nsCOMPtr<nsIURI> exposableURI; rv = mOwner->mFixup->CreateExposableURI (favUri, getter_AddRefs (exposableURI)); NS_ENSURE_SUCCESS (rv, rv); |