summaryrefslogtreecommitdiff
path: root/uriloader
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
parentfefce8f7ccbc476cfc46e61b01eff069346d3c73 (diff)
downloaduxp-e66562aa8b7bed7f194355eb3953ead052e2aa48.tar.gz
Bug 1182569: Use AsyncOpen2 for docshell loads
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 69475d68fd..ea370aa37c 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) {