summaryrefslogtreecommitdiffstats
path: root/toolkit/components/viewsource
diff options
context:
space:
mode:
authorThosRTanner <ThosRTanner@users.noreply.github.com>2019-04-20 09:14:36 +0100
committerGitHub <noreply@github.com>2019-04-20 09:14:36 +0100
commitb73287811011432d69c82b3ebcd934f226644d93 (patch)
tree2250b8887d10027aad02a2a23df67f1a0d818099 /toolkit/components/viewsource
parent51722cd4fecb5c8c79a302f2771cad71535df5ea (diff)
downloadUXP-b73287811011432d69c82b3ebcd934f226644d93.tar
UXP-b73287811011432d69c82b3ebcd934f226644d93.tar.gz
UXP-b73287811011432d69c82b3ebcd934f226644d93.tar.lz
UXP-b73287811011432d69c82b3ebcd934f226644d93.tar.xz
UXP-b73287811011432d69c82b3ebcd934f226644d93.zip
Remove unused parameter from call
Fixes #1043
Diffstat (limited to 'toolkit/components/viewsource')
-rw-r--r--toolkit/components/viewsource/content/viewSource-content.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/components/viewsource/content/viewSource-content.js b/toolkit/components/viewsource/content/viewSource-content.js
index 70d23eaa4..bad90febf 100644
--- a/toolkit/components/viewsource/content/viewSource-content.js
+++ b/toolkit/components/viewsource/content/viewSource-content.js
@@ -128,8 +128,7 @@ var ViewSourceContent = {
let objects = msg.objects;
switch (msg.name) {
case "ViewSource:LoadSource":
- this.viewSource(data.URL, data.outerWindowID, data.lineNumber,
- data.shouldWrap);
+ this.viewSource(data.URL, data.outerWindowID, data.lineNumber);
break;
case "ViewSource:LoadSourceOriginal":
this.viewSourceOriginal(data.URL, objects.pageDescriptor, data.lineNumber,