Bug 459189 fix build failure of nsDOMWorkerXHRProxy.cpp for Solaris, r+sr=jst

This commit is contained in:
Boying Lu 2008-10-13 16:01:47 +08:00
parent 6c3b39354c
commit c820c870e3

View File

@ -560,13 +560,13 @@ nsDOMWorkerXHRProxy::FlipOwnership()
for (; index < MAX_UPLOAD_LISTENER_TYPE; index++) {
eventName.AssignASCII(nsDOMWorkerXHREventTarget::sListenerTypes[index]);
(xhrTarget->*function)(eventName, this, PR_FALSE);
(uploadTarget->*function)(eventName, this, PR_FALSE);
(xhrTarget.get()->*function)(eventName, this, PR_FALSE);
(uploadTarget.get()->*function)(eventName, this, PR_FALSE);
}
for (; index < MAX_XHR_LISTENER_TYPE; index++) {
eventName.AssignASCII(nsDOMWorkerXHREventTarget::sListenerTypes[index]);
(xhrTarget->*function)(eventName, this, PR_FALSE);
(xhrTarget.get()->*function)(eventName, this, PR_FALSE);
}
if (mOwnedByXHR) {