aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-28 23:06:31 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-28 23:06:31 +0800
commit0d86fa3258226628083b8340e6c20a78ca11f955 (patch)
tree21b803f57e1bd9a6b144ec4e4f0e592362ad27bf /embed/mozilla/EphyBrowser.cpp
parent6605cb341e38ebaea954567a3d3180a7c11d0655 (diff)
downloadgsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar.gz
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar.bz2
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar.lz
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar.xz
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.tar.zst
gsoc2013-epiphany-0d86fa3258226628083b8340e6c20a78ca11f955.zip
Allow building with xulrunner 1.9. Patch by Alexander Sack; part of bug #503657
svn path=/branches/gnome-2-22/; revision=8142
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index d4a53811b..3445e6d74 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -1567,6 +1567,7 @@ EphyBrowser::GetPIDOMWindow(nsPIDOMWindow **aPIWin)
// get the private DOM window
nsCOMPtr<nsPIDOMWindow> domWindowPrivate = do_QueryInterface(mDOMWindow);
+ NS_ENSURE_TRUE (domWindowPrivate, NS_ERROR_UNEXPECTED);
// and the root window for that DOM window
*aPIWin = domWindowPrivate->GetPrivateRoot();