Allow WOFF2Params to specify no transformations at all

This commit is contained in:
Rod Sheeter
2016-01-28 11:36:18 -08:00
parent 14f4cb67ec
commit bdf886a06b
3 changed files with 18 additions and 3 deletions
+3 -1
View File
@@ -27,10 +27,12 @@ using std::string;
namespace woff2 {
struct WOFF2Params {
WOFF2Params() : extended_metadata(""), brotli_quality(11) {}
WOFF2Params() : extended_metadata(""), brotli_quality(11),
allow_transforms(true) {}
string extended_metadata;
int brotli_quality;
bool allow_transforms;
};
// Returns an upper bound on the size of the compressed file.