Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv

This commit is contained in:
Olli Pettay 2010-03-10 12:51:21 +02:00
parent 9063d148c7
commit dbb6144442

View File

@ -57,7 +57,6 @@
#include "prprf.h"
#include "nsIDOMEventListener.h"
#include "nsIJSContextStack.h"
#include "nsJSEnvironment.h"
#include "nsIScriptSecurityManager.h"
#include "nsWeakPtr.h"
#include "nsICharsetAlias.h"
@ -2154,7 +2153,6 @@ nsXMLHttpRequest::RequestCompleted()
ChangeState(XML_HTTP_REQUEST_OPENED);
}
nsJSContext::MaybeCC(PR_FALSE);
return rv;
}
@ -2936,7 +2934,6 @@ nsXMLHttpRequest::Error(nsIDOMEvent* aEvent)
mUploadTransferred, mUploadTotal);
}
nsJSContext::MaybeCC(PR_FALSE);
return NS_OK;
}