Update Source/ThirdParty/woff2 to 22c256bc457777744ba14b7325a6e8e0e7dec91c
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 06:32:57 +0000 (06:32 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 06:32:57 +0000 (06:32 +0000)
commit5cfb7b1e3982092508cc47a62ff0748886b9c4cd
tree1ac277fee53000af785e1691de1a80486e1ca450
parent991b59ae9dcdc3012ae6d771bb63645da0d10e19
Update Source/ThirdParty/woff2 to 22c256bc457777744ba14b7325a6e8e0e7dec91c
https://bugs.webkit.org/show_bug.cgi?id=177994

Patch by Frederic Wang <fwang@igalia.com> on 2017-10-05
Reviewed by Michael Catanzaro.

Source/ThirdParty:

* woff2/CMakeLists.txt: Also consider the directory for public headers.
* woff2/README.webkit:
* woff2/include/woff2/decode.h: Renamed from Source/ThirdParty/woff2/src/woff2_dec.h.
* woff2/include/woff2/encode.h: Renamed from Source/ThirdParty/woff2/src/woff2_enc.h.
(woff2::WOFF2Params::WOFF2Params):
* woff2/include/woff2/output.h: Renamed from Source/ThirdParty/woff2/src/woff2_out.h.
(woff2::WOFF2Out::~WOFF2Out):
(woff2::WOFF2StringOut::MaxSize):
* woff2/src/buffer.h:
* woff2/src/convert_woff2ttf_*.cc:
* woff2/src/file.h:
* woff2/src/font.cc:
* woff2/src/font.h:
* woff2/src/glyph.cc:
* woff2/src/glyph.h:
* woff2/src/normalize.cc:
* woff2/src/normalize.h:
* woff2/src/port.h:
* woff2/src/round.h:
* woff2/src/store_bytes.h:
* woff2/src/table_tags.cc:
* woff2/src/table_tags.h:
* woff2/src/transform.cc:
* woff2/src/transform.h:
* woff2/src/variable_length.cc:
* woff2/src/variable_length.h:
* woff2/src/woff2_common.cc:
* woff2/src/woff2_common.h:
* woff2/src/woff2_compress.cc:
* woff2/src/woff2_dec.cc:
* woff2/src/woff2_decompress.cc:
* woff2/src/woff2_enc.cc:
* woff2/src/woff2_info.cc:
* woff2/src/woff2_out.cc:
* woff2/update.sh: Also consider directory for public headers.

Source/WebCore:

No new tests, already covered by existing tests.

* CMakeLists.txt: Include the directory for public headers instead.
* platform/graphics/WOFFFileFormat.cpp: Use the public header
woff2/decode.h and do not use the "wOF2" constant from private headers.
(WebCore::isWOFF):
(WebCore::convertWOFFToSfnt):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
37 files changed:
Source/ThirdParty/ChangeLog
Source/ThirdParty/woff2/CMakeLists.txt
Source/ThirdParty/woff2/README.webkit
Source/ThirdParty/woff2/include/woff2/decode.h [moved from Source/ThirdParty/woff2/src/woff2_dec.h with 56% similarity]
Source/ThirdParty/woff2/include/woff2/encode.h [moved from Source/ThirdParty/woff2/src/woff2_enc.h with 57% similarity]
Source/ThirdParty/woff2/include/woff2/output.h [moved from Source/ThirdParty/woff2/src/woff2_out.h with 59% similarity]
Source/ThirdParty/woff2/src/buffer.h
Source/ThirdParty/woff2/src/convert_woff2ttf_fuzzer.cc
Source/ThirdParty/woff2/src/convert_woff2ttf_fuzzer_new_entry.cc
Source/ThirdParty/woff2/src/file.h
Source/ThirdParty/woff2/src/font.cc
Source/ThirdParty/woff2/src/font.h
Source/ThirdParty/woff2/src/glyph.cc
Source/ThirdParty/woff2/src/glyph.h
Source/ThirdParty/woff2/src/normalize.cc
Source/ThirdParty/woff2/src/normalize.h
Source/ThirdParty/woff2/src/port.h
Source/ThirdParty/woff2/src/round.h
Source/ThirdParty/woff2/src/store_bytes.h
Source/ThirdParty/woff2/src/table_tags.cc
Source/ThirdParty/woff2/src/table_tags.h
Source/ThirdParty/woff2/src/transform.cc
Source/ThirdParty/woff2/src/transform.h
Source/ThirdParty/woff2/src/variable_length.cc
Source/ThirdParty/woff2/src/variable_length.h
Source/ThirdParty/woff2/src/woff2_common.cc
Source/ThirdParty/woff2/src/woff2_common.h
Source/ThirdParty/woff2/src/woff2_compress.cc
Source/ThirdParty/woff2/src/woff2_dec.cc
Source/ThirdParty/woff2/src/woff2_decompress.cc
Source/ThirdParty/woff2/src/woff2_enc.cc
Source/ThirdParty/woff2/src/woff2_info.cc
Source/ThirdParty/woff2/src/woff2_out.cc
Source/ThirdParty/woff2/update.sh
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/WOFFFileFormat.cpp