From 939cd4d9d39a065d305cdb51ca2e56c9a1776f92 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 23 Jun 2006 04:39:42 +0000 Subject: [PATCH] Need to make this protected too. More Windows bustage. Bug 330089 --- uriloader/base/nsDocLoader.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uriloader/base/nsDocLoader.h b/uriloader/base/nsDocLoader.h index 29f9a31dd10f..49ac09b65390 100644 --- a/uriloader/base/nsDocLoader.h +++ b/uriloader/base/nsDocLoader.h @@ -193,6 +193,13 @@ protected: return mChildrenInOnload.AppendObject(aChild); } + // Inform a parent docloader that aChild is done calling its onload + // handler. + void ChildDoneWithOnload(nsIDocumentLoader* aChild) { + mChildrenInOnload.RemoveObject(aChild); + DocLoaderIsEmpty(); + } + protected: // IMPORTANT: The ownership implicit in the following member // variables has been explicitly checked and set using nsCOMPtr @@ -243,13 +250,6 @@ private: // fact empty. void DocLoaderIsEmpty(); - // Inform a parent docloader that aChild is done calling its onload - // handler. - void ChildDoneWithOnload(nsIDocumentLoader* aChild) { - mChildrenInOnload.RemoveObject(aChild); - DocLoaderIsEmpty(); - } - nsListenerInfo *GetListenerInfo(nsIWebProgressListener* aListener); PRInt64 GetMaxTotalProgress();