summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-09-29 13:42:51 +0000
committerMoonchild <moonchild@palemoon.org>2021-09-29 13:42:51 +0000
commit300300ed70fe45cdd9ef6014e233681a8f36c675 (patch)
tree6296166c16ba2edc657fd801679dc65ead3a057f /modules
parentd5b9e12e27bc95bb643f29be923200683ce14e9b (diff)
downloadaura-central-300300ed70fe45cdd9ef6014e233681a8f36c675.tar.gz
Issue mcp-graveyard/UXP%1751 - Nuke MOZ_WIDGET_COCOA
Diffstat (limited to 'modules')
-rw-r--r--modules/libjar/nsJARChannel.cpp3
-rw-r--r--modules/libjar/zipstruct.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/libjar/nsJARChannel.cpp b/modules/libjar/nsJARChannel.cpp
index ddcbfae2c..65c034779 100644
--- a/modules/libjar/nsJARChannel.cpp
+++ b/modules/libjar/nsJARChannel.cpp
@@ -1023,8 +1023,7 @@ nsJARChannel::OnStopRequest(nsIRequest *req, nsISupports *ctx, nsresult status)
mCallbacks = nullptr;
mProgressSink = nullptr;
- #if defined(XP_WIN) || defined(MOZ_WIDGET_COCOA)
- #else
+ #if !defined(XP_WIN)
// To deallocate file descriptor by RemoteOpenFileChild destructor.
mJarFile = nullptr;
#endif
diff --git a/modules/libjar/zipstruct.h b/modules/libjar/zipstruct.h
index f7393128a..fe0662521 100644
--- a/modules/libjar/zipstruct.h
+++ b/modules/libjar/zipstruct.h
@@ -103,6 +103,6 @@ typedef struct ZipEnd_
#define DEFLATED 8
#define UNSUPPORTED 0xFF
/* non-standard extension */
-#define MOZ_JAR_BROTLI 0x81
+#define MOZ_JAR_BROTLI 0x83
#endif /* _zipstruct_h */