From 04793cf60488286d56c730ce9ff278c09defce4f Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 23 Jun 2006 03:07:02 +0000 Subject: [PATCH] Make method protected to fix Windows bustage. Bug 330089. git-svn-id: svn://10.0.0.236/trunk@200663 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/uriloader/base/nsDocLoader.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mozilla/uriloader/base/nsDocLoader.h b/mozilla/uriloader/base/nsDocLoader.h index 9ab3bad7aa2..29f9a31dd10 100644 --- a/mozilla/uriloader/base/nsDocLoader.h +++ b/mozilla/uriloader/base/nsDocLoader.h @@ -184,6 +184,15 @@ protected: void doStopURLLoad(nsIRequest *request, nsresult aStatus); void doStopDocumentLoad(nsIRequest *request, nsresult aStatus); + // Inform a parent docloader that aChild is about to call its onload + // handler. + PRBool ChildEnteringOnload(nsIDocumentLoader* aChild) { + // It's ok if we're already in the list -- we'll just be in there twice + // and then the RemoveObject calls from ChildDoneWithOnload will remove + // us. + return mChildrenInOnload.AppendObject(aChild); + } + protected: // IMPORTANT: The ownership implicit in the following member // variables has been explicitly checked and set using nsCOMPtr @@ -234,15 +243,6 @@ private: // fact empty. void DocLoaderIsEmpty(); - // Inform a parent docloader that aChild is about to call its onload - // handler. - PRBool ChildEnteringOnload(nsIDocumentLoader* aChild) { - // It's ok if we're already in the list -- we'll just be in there twice - // and then the RemoveObject calls from ChildDoneWithOnload will remove - // us. - return mChildrenInOnload.AppendObject(aChild); - } - // Inform a parent docloader that aChild is done calling its onload // handler. void ChildDoneWithOnload(nsIDocumentLoader* aChild) {