Index: runtime/bin/filter_patch.dart |
diff --git a/runtime/bin/filter_patch.dart b/runtime/bin/filter_patch.dart |
index 1dc727d4ea035b4e6f72cbe5ec7619cae6cee1af..6130aee168af9216d02d2dfc277c136cd59d8a6f 100644 |
--- a/runtime/bin/filter_patch.dart |
+++ b/runtime/bin/filter_patch.dart |
@@ -13,22 +13,24 @@ class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter { |
} |
class _ZLibInflateFilter extends _FilterImpl { |
- _ZLibInflateFilter() { |
- _init(); |
+ _ZLibInflateFilter(int windowBits, bool raw) { |
+ _init(windowBits, raw); |
} |
- void _init() native "Filter_CreateZLibInflate"; |
+ void _init(int windowBits, bool raw) native "Filter_CreateZLibInflate"; |
} |
class _ZLibDeflateFilter extends _FilterImpl { |
- _ZLibDeflateFilter(bool gzip, int level) { |
- _init(gzip, level); |
+ _ZLibDeflateFilter(bool gzip, int level, int windowBits, bool raw) { |
+ _init(gzip, level, windowBits, raw); |
} |
- void _init(bool gzip, int level) native "Filter_CreateZLibDeflate"; |
+ void _init(bool gzip, int level, int windowBits, bool raw) |
+ native "Filter_CreateZLibDeflate"; |
} |
patch class _Filter { |
- /* patch */ static _Filter newZLibDeflateFilter(bool gzip, int level) |
- => new _ZLibDeflateFilter(gzip, level); |
- /* patch */ static _Filter newZLibInflateFilter() => new _ZLibInflateFilter(); |
+ /* patch */ static _Filter newZLibDeflateFilter(bool gzip, int level, |
+ int windowBits, bool raw) => |
+ new _ZLibDeflateFilter(gzip, level, windowBits, raw); |
+ /* patch */ static _Filter newZLibInflateFilter(int windowBits, bool raw) => |
+ new _ZLibInflateFilter(windowBits, raw); |
} |
- |