epiphany r8203 - branches/gnome-2-22/embed/mozilla
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8203 - branches/gnome-2-22/embed/mozilla
- Date: Wed, 9 Apr 2008 14:32:21 +0100 (BST)
Author: chpe
Date: Wed Apr 9 14:32:20 2008
New Revision: 8203
URL: http://svn.gnome.org/viewvc/epiphany?rev=8203&view=rev
Log:
Add a kung fu death grip to keep us alive. Part of bug #513837
Modified:
branches/gnome-2-22/embed/mozilla/ContentHandler.cpp
Modified: branches/gnome-2-22/embed/mozilla/ContentHandler.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/ContentHandler.cpp (original)
+++ branches/gnome-2-22/embed/mozilla/ContentHandler.cpp Wed Apr 9 14:32:20 2008
@@ -35,6 +35,7 @@
#include <nsStringAPI.h>
+#include <nsAutoPtr.h>
#include <nsCExternalHandlerService.h>
#include <nsComponentManagerUtils.h>
#include <nsIDOMWindow.h>
@@ -454,6 +455,8 @@
}
#endif /* HAVE_GECKO_1_9 */
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+
if (mAction == CONTENT_ACTION_OPEN)
{
mLauncher->SaveToDisk (nsnull, PR_FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]