aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-11 21:59:05 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-11 21:59:05 +0800
commitb11322d5c6d8f4dce70b4a7da5e06defb084e7f7 (patch)
treeddf636e20d3a702d7f79afe1c7e998b4b2e8a079 /embed/mozilla/EphyBrowser.cpp
parent9ce26a3cbd72d907209829bb2d128b163cf0667d (diff)
downloadgsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.gz
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.bz2
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.lz
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.xz
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.zst
gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.zip
One more NS_ENSURE_TRUE.
2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: One more NS_ENSURE_TRUE.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 1ca7d44e9..af0702ba1 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -383,7 +383,7 @@ nsresult EphyBrowser::GoToHistoryIndex (PRInt16 index)
nsresult EphyBrowser::SetZoom (float aZoom, PRBool reflow)
{
- if (!mWebBrowser) return NS_ERROR_FAILURE;
+ NS_ENSURE_TRUE (mWebBrowser, NS_ERROR_FAILURE);
if (reflow)
{