зеркало из https://github.com/mozilla/pjs.git
Make method protected to fix Windows bustage. Bug 330089.
This commit is contained in:
Родитель
eb76996e38
Коммит
5a8f39facf
|
@ -184,6 +184,15 @@ protected:
|
||||||
void doStopURLLoad(nsIRequest *request, nsresult aStatus);
|
void doStopURLLoad(nsIRequest *request, nsresult aStatus);
|
||||||
void doStopDocumentLoad(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:
|
protected:
|
||||||
// IMPORTANT: The ownership implicit in the following member
|
// IMPORTANT: The ownership implicit in the following member
|
||||||
// variables has been explicitly checked and set using nsCOMPtr
|
// variables has been explicitly checked and set using nsCOMPtr
|
||||||
|
@ -234,15 +243,6 @@ private:
|
||||||
// fact empty.
|
// fact empty.
|
||||||
void DocLoaderIsEmpty();
|
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
|
// Inform a parent docloader that aChild is done calling its onload
|
||||||
// handler.
|
// handler.
|
||||||
void ChildDoneWithOnload(nsIDocumentLoader* aChild) {
|
void ChildDoneWithOnload(nsIDocumentLoader* aChild) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче