summaryrefslogtreecommitdiffstats
path: root/uriloader/base/nsURILoader.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:17:18 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:17:18 +0200
commit30621a6307171f009948001b3730c5b61b894048 (patch)
tree7d6b34d98372e37efc57e40c827572779eb64ba2 /uriloader/base/nsURILoader.cpp
parent115cf1e322bdabaee001781e1d5a8ee4928992af (diff)
downloadUXP-30621a6307171f009948001b3730c5b61b894048.tar
UXP-30621a6307171f009948001b3730c5b61b894048.tar.gz
UXP-30621a6307171f009948001b3730c5b61b894048.tar.lz
UXP-30621a6307171f009948001b3730c5b61b894048.tar.xz
UXP-30621a6307171f009948001b3730c5b61b894048.zip
Revert "Bug 1182569: Use AsyncOpen2 for docshell loads"
This reverts commit 29bd11c3cd6ff41f7167530f9bbcd9d195b7c427.
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 ea370aa37..69475d68f 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->AsyncOpen2(loader);
+ rv = channel->AsyncOpen(loader, nullptr);
// no content from this load - that's OK.
if (rv == NS_ERROR_NO_CONTENT) {