| Index: third_party/woff2/src/woff2_enc.cc
|
| diff --git a/third_party/woff2/src/woff2_enc.cc b/third_party/woff2/src/woff2_enc.cc
|
| index 920c614fcc1f4b4926d13e0e5149b43efcbe851b..48878b5f7e3100ca9973094f6e1623b67a12a38d 100644
|
| --- a/third_party/woff2/src/woff2_enc.cc
|
| +++ b/third_party/woff2/src/woff2_enc.cc
|
| @@ -23,7 +23,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "./encode.h"
|
| +#include "./compressor.h"
|
| #include "./buffer.h"
|
| #include "./font.h"
|
| #include "./normalize.h"
|
| @@ -148,14 +148,6 @@ size_t ComputeWoff2Length(const FontCollection& font_collection,
|
| return size;
|
| }
|
|
|
| -size_t ComputeTTFLength(const std::vector<Table>& tables) {
|
| - size_t size = 12 + 16 * tables.size(); // sfnt header
|
| - for (const auto& table : tables) {
|
| - size += Round4(table.src_length);
|
| - }
|
| - return size;
|
| -}
|
| -
|
| size_t ComputeUncompressedLength(const Font& font) {
|
| // sfnt header + offset table
|
| size_t size = 12 + 16 * font.num_tables;
|
|
|