epiphany r8318 - branches/gnome-2-22/embed/mozilla
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8318 - branches/gnome-2-22/embed/mozilla
- Date: Mon, 30 Jun 2008 18:21:41 +0000 (UTC)
Author: chpe
Date: Mon Jun 30 18:21:41 2008
New Revision: 8318
URL: http://svn.gnome.org/viewvc/epiphany?rev=8318&view=rev
Log:
Add emergency NULL-check.
Modified:
branches/gnome-2-22/embed/mozilla/EphyBrowser.cpp
Modified: branches/gnome-2-22/embed/mozilla/EphyBrowser.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/EphyBrowser.cpp (original)
+++ branches/gnome-2-22/embed/mozilla/EphyBrowser.cpp Mon Jun 30 18:21:41 2008
@@ -366,6 +366,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]