Chromium Code Reviews| Index: runtime/bin/filter_patch.dart |
| diff --git a/runtime/bin/filter_patch.dart b/runtime/bin/filter_patch.dart |
| index 1dc727d4ea035b4e6f72cbe5ec7619cae6cee1af..62614282074ec0506caa7861f355051db8a5f399 100644 |
| --- a/runtime/bin/filter_patch.dart |
| +++ b/runtime/bin/filter_patch.dart |
| @@ -13,22 +13,34 @@ class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter { |
| } |
| class _ZLibInflateFilter extends _FilterImpl { |
| - _ZLibInflateFilter() { |
| - _init(); |
| + _ZLibInflateFilter(int windowBits, List<int> dictionary, bool raw) { |
| + print("Dart _ZLibInflateFilter $windowBits $dictionary $raw"); |
|
Anders Johnsen
2014/01/27 12:27:45
Debug stuff.
|
| + _init(windowBits, dictionary, raw); |
| } |
| - void _init() native "Filter_CreateZLibInflate"; |
| + void _init(int windowBits, List<int> dictionary, bool raw) |
| + native "Filter_CreateZLibInflate"; |
| } |
| class _ZLibDeflateFilter extends _FilterImpl { |
| - _ZLibDeflateFilter(bool gzip, int level) { |
| - _init(gzip, level); |
| + _ZLibDeflateFilter(bool gzip, int level, int windowBits, int memLevel, |
| + int strategy, List<int> dictionary, bool raw) { |
| + _init(gzip, level, windowBits, memLevel, strategy, dictionary, raw); |
| } |
| - void _init(bool gzip, int level) native "Filter_CreateZLibDeflate"; |
| + void _init(bool gzip, int level, int windowBits, int memLevel, |
| + int strategy, List<int> dictionary, 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, int memLevel, |
| + int strategy, |
| + List<int> dictionary, |
| + bool raw) => |
| + new _ZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, |
| + dictionary, raw); |
| + /* patch */ static _Filter newZLibInflateFilter(int windowBits, |
| + List<int> dictionary, |
| + bool raw) => |
| + new _ZLibInflateFilter(windowBits, dictionary, raw); |
| } |
| - |