diff --git a/mozilla/uriloader/base/nsDocLoader.cpp b/mozilla/uriloader/base/nsDocLoader.cpp index c11ed08dddb..30b91df57d3 100644 --- a/mozilla/uriloader/base/nsDocLoader.cpp +++ b/mozilla/uriloader/base/nsDocLoader.cpp @@ -828,9 +828,6 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, PRInt32 aStatus, /* * The stream is complete... Tell the DocumentLoader to release us... - * - * This should cause the nsDocumentBindInfo instance to be deleted, so - * DO NOT assume this is valid after the call!! */ m_DocLoader->LoadURLComplete((nsIStreamListener *)this); diff --git a/mozilla/webshell/src/nsDocLoader.cpp b/mozilla/webshell/src/nsDocLoader.cpp index c11ed08dddb..30b91df57d3 100644 --- a/mozilla/webshell/src/nsDocLoader.cpp +++ b/mozilla/webshell/src/nsDocLoader.cpp @@ -828,9 +828,6 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, PRInt32 aStatus, /* * The stream is complete... Tell the DocumentLoader to release us... - * - * This should cause the nsDocumentBindInfo instance to be deleted, so - * DO NOT assume this is valid after the call!! */ m_DocLoader->LoadURLComplete((nsIStreamListener *)this);