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();