Commit 703294b3 authored by hyatt%netscape.com's avatar hyatt%netscape.com
Browse files

Adding support for weak references on docshells.

parent 85e9bf30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ NS_INTERFACE_MAP_BEGIN(nsDocShell)
   NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
   NS_INTERFACE_MAP_ENTRY(nsIScriptGlobalObjectOwner)
   NS_INTERFACE_MAP_ENTRY(nsIRefreshURI)
   NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_END_THREADSAFE

///*****************************************************************************
+3 −3
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@
#include "nsIDocumentLoader.h"
#include "nsIDocumentLoaderObserver.h"



#include "nsWeakReference.h"

// Local Includes
#include "nsDSURIContentListener.h"
@@ -121,7 +120,8 @@ class nsDocShell : public nsIDocShell,
                   public nsIContentViewerContainer,
                   public nsIInterfaceRequestor,
                   public nsIScriptGlobalObjectOwner,
                   public nsIRefreshURI
                   public nsIRefreshURI,
                   public nsSupportsWeakReference
{
friend class nsDSURIContentListener;
friend class nsDSWebProgressListener;