зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1282375 - Add missing namespace qualifiers. r=baku
MozReview-Commit-ID: DUtnCS8xeFn
This commit is contained in:
Родитель
aa2bd5ea05
Коммит
6e8409f046
|
@ -2745,7 +2745,7 @@ nsXMLHttpRequest::Send(nsIVariant* aVariant, const Nullable<RequestBody>& aBody)
|
|||
|
||||
// Not doing this for system XHR uses since those don't use CORS.
|
||||
nsCOMPtr<nsILoadInfo> loadInfo = mChannel->GetLoadInfo();
|
||||
static_cast<LoadInfo*>(loadInfo.get())->SetIncludeCookiesSecFlag();
|
||||
static_cast<net::LoadInfo*>(loadInfo.get())->SetIncludeCookiesSecFlag();
|
||||
}
|
||||
|
||||
// Blocking gets are common enough out of XHR that we should mark
|
||||
|
@ -2851,7 +2851,7 @@ nsXMLHttpRequest::Send(nsIVariant* aVariant, const Nullable<RequestBody>& aBody)
|
|||
// Because of bug 682305, we can't let listener be the XHR object itself
|
||||
// because JS wouldn't be able to use it. So create a listener around 'this'.
|
||||
// Make sure to hold a strong reference so that we don't leak the wrapper.
|
||||
nsCOMPtr<nsIStreamListener> listener = new nsStreamListenerWrapper(this);
|
||||
nsCOMPtr<nsIStreamListener> listener = new net::nsStreamListenerWrapper(this);
|
||||
rv = mChannel->AsyncOpen2(listener);
|
||||
listener = nullptr;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче