Don't include zlib.h from jsutil.h

RESOLVED FIXED in mozilla29

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: luke, Assigned: luke)

Tracking

unspecified
mozilla29
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

5 years ago
This patch splits compression out into its own .cpp/.h pair.  The s/compress/work/ renaming in jsscript.cpp is due to bug 960821.
Attachment #8361470 - Flags: review?(n.nethercote)
Assignee

Updated

5 years ago
Blocks: 960367
Comment on attachment 8361470 [details] [diff] [review]
rm-compress-from-jsutil

Review of attachment 8361470 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/vm/Compression.h
@@ +16,5 @@
> +namespace js {
> +
> +class Compressor
> +{
> +    /* Number of bytes we should hand to zlib each compressMore() call. */

You don't think C++ comments are nicer?
Attachment #8361470 - Flags: review?(n.nethercote) → review+
Assignee

Comment 2

5 years ago
(In reply to Nicholas Nethercote [:njn] from comment #1)
I was mostly just copy-pastin'.  From discussions on dev.platform, it sounds like we might have a Great Style Normalization in our future anyway ;)
https://hg.mozilla.org/mozilla-central/rev/56580a9e6ca6
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.