diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-04-09 21:32:20 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-04-09 21:32:20 +0800 |
commit | 64d21c34ad15246cc0e848885f6a84c3b08409ea (patch) | |
tree | 8ac639c59657a6b6863ab37abd00e4eb3fab63d1 | |
parent | b5f116e38eed5763b4e22d00654f222e92d09b42 (diff) | |
download | gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar.gz gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar.bz2 gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar.lz gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar.xz gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.tar.zst gsoc2013-epiphany-64d21c34ad15246cc0e848885f6a84c3b08409ea.zip |
Add a kung fu death grip to keep us alive. Part of bug #513837
svn path=/branches/gnome-2-22/; revision=8203
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 3535d362c..735e5ef88 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -35,6 +35,7 @@ #include <nsStringAPI.h> +#include <nsAutoPtr.h> #include <nsCExternalHandlerService.h> #include <nsComponentManagerUtils.h> #include <nsIDOMWindow.h> @@ -454,6 +455,8 @@ NS_METHOD GContentHandler::MIMEDoAction (void) } #endif /* HAVE_GECKO_1_9 */ + nsRefPtr<GContentHandler> kungFuDeathGrip(this); + if (mAction == CONTENT_ACTION_OPEN) { mLauncher->SaveToDisk (nsnull, PR_FALSE); |