epiphany r8812 - branches/gnome-2-26/embed/mozilla



Author: chpe
Date: Mon Feb 23 13:28:08 2009
New Revision: 8812
URL: http://svn.gnome.org/viewvc/epiphany?rev=8812&view=rev

Log:
Another NULL check for bug #572810

Modified:
   branches/gnome-2-26/embed/mozilla/EphyBrowser.cpp

Modified: branches/gnome-2-26/embed/mozilla/EphyBrowser.cpp
==============================================================================
--- branches/gnome-2-26/embed/mozilla/EphyBrowser.cpp	(original)
+++ branches/gnome-2-26/embed/mozilla/EphyBrowser.cpp	Mon Feb 23 13:28:08 2009
@@ -433,6 +433,7 @@
 			rv = GetDocURI (linkElement, getter_AddRefs (docUri));
 			NS_ENSURE_TRUE (NS_SUCCEEDED (rv) && docUri, NS_ERROR_FAILURE);
 
+	                NS_ENSURE_TRUE (mOwner->mFixup, NS_OK);
                         nsCOMPtr<nsIURI> exposableURI;
                         rv = mOwner->mFixup->CreateExposableURI (docUri, getter_AddRefs (exposableURI));
                         NS_ENSURE_SUCCESS (rv, rv);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]