summaryrefslogtreecommitdiff
path: root/waterfox/0001-Update-patch-bug1403998.patch
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox/0001-Update-patch-bug1403998.patch')
-rw-r--r--waterfox/0001-Update-patch-bug1403998.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/waterfox/0001-Update-patch-bug1403998.patch b/waterfox/0001-Update-patch-bug1403998.patch
new file mode 100644
index 0000000..5c027d9
--- /dev/null
+++ b/waterfox/0001-Update-patch-bug1403998.patch
@@ -0,0 +1,39 @@
+From a9cea38d6dc686f6b99893f1d215b3185f76e845 Mon Sep 17 00:00:00 2001
+From: Phantom X <PhantomX@users.noreply.github.com>
+Date: Wed, 27 Jan 2021 08:49:38 -0300
+Subject: [PATCH] Update patch-bug1403998
+
+---
+ _patches/patch-bug1403998 | 29 +++++++++++++++--------------
+ 1 file changed, 15 insertions(+), 14 deletions(-)
+
+diff --git a/_patches/patch-bug1403998 b/_patches/patch-bug1403998
+index 5851984..510249a 100644
+--- a/_patches/patch-bug1403998
++++ b/_patches/patch-bug1403998
+@@ -100,10 +100,10 @@ index 4c7f335352d3..1f1ee01818fb 100644
+ + nullptr);
+ +}
+ +
+- ////////////////////////////////////////////////////////////////////////////////
+- // nsIRequest methods:
+-
+-@@ -229,24 +304,11 @@ nsViewSourceChannel::GetURI(nsIURI* *aURI)
++ void nsViewSourceChannel::ReleaseListeners() {
++ mListener = nullptr;
++ }
++@@ -233,24 +308,11 @@ nsViewSourceChannel::GetURI(nsIURI* *aURI)
+
+ nsCOMPtr<nsIURI> uri;
+ nsresult rv = mChannel->GetURI(getter_AddRefs(uri));
+@@ -158,6 +158,7 @@ index 002739b361f7..1970c01588e3 100644
+ +
+ protected:
+ ~nsViewSourceChannel() {}
++ void ReleaseListeners();
+
+ + // Clones aURI and prefixes it with "view-source:" schema,
+ + nsresult BuildViewSourceURI(nsIURI* aURI, nsIURI** aResult);
+--
+2.29.2
+
bgstack15