summaryrefslogtreecommitdiffstats
path: root/uriloader/base/nsURILoader.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 21:00:21 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 21:00:21 +0200
commite66562aa8b7bed7f194355eb3953ead052e2aa48 (patch)
tree093206f1fb3fe494d5814407e5c168e3079a7431 /uriloader/base/nsURILoader.cpp
parentfefce8f7ccbc476cfc46e61b01eff069346d3c73 (diff)
downloadUXP-e66562aa8b7bed7f194355eb3953ead052e2aa48.tar
UXP-e66562aa8b7bed7f194355eb3953ead052e2aa48.tar.gz
UXP-e66562aa8b7bed7f194355eb3953ead052e2aa48.tar.lz
UXP-e66562aa8b7bed7f194355eb3953ead052e2aa48.tar.xz
UXP-e66562aa8b7bed7f194355eb3953ead052e2aa48.zip
Bug 1182569: Use AsyncOpen2 for docshell loads
Diffstat (limited to 'uriloader/base/nsURILoader.cpp')
-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) {