blob: 5c027d9ba0cac5f509e1beb05cb96fd6b7111878 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
|