summaryrefslogtreecommitdiffstats
path: root/uriloader
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 21:47:27 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 21:47:27 +0200
commit29bd11c3cd6ff41f7167530f9bbcd9d195b7c427 (patch)
tree5eaab80adebcfd3f0a00ab9ac2e5e3e8d0365c97 /uriloader
parentdbfad99a51062e663da19266219191c0dc3521be (diff)
downloadUXP-29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.tar
UXP-29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.tar.gz
UXP-29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.tar.lz
UXP-29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.tar.xz
UXP-29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.zip
Bug 1182569: Use AsyncOpen2 for docshell loads
native in moebius
Diffstat (limited to 'uriloader')
-rw-r--r--uriloader/base/nsURILoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp
index 69475d68f..ea370aa37 100644
--- a/uriloader/base/nsURILoader.cpp
+++ b/uriloader/base/nsURILoader.cpp
@@ -834,7 +834,7 @@ NS_IMETHODIMP nsURILoader::OpenURI(nsIChannel *channel,
// the preferred protocol handler.
// But for now, I'm going to let necko do the work for us....
- rv = channel->AsyncOpen(loader, nullptr);
+ rv = channel->AsyncOpen2(loader);
// no content from this load - that's OK.
if (rv == NS_ERROR_NO_CONTENT) {