From 30621a6307171f009948001b3730c5b61b894048 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 22 Apr 2018 22:17:18 +0200 Subject: Revert "Bug 1182569: Use AsyncOpen2 for docshell loads" This reverts commit 29bd11c3cd6ff41f7167530f9bbcd9d195b7c427. --- uriloader/base/nsURILoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uriloader') 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) { -- cgit v1.2.3