Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: third_party/ots/src/woff2.cc

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/ots/README.chromium ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is the implementation of decompression of the proposed WOFF Ultra 5 // This is the implementation of decompression of the proposed WOFF Ultra
6 // Condensed file format. 6 // Condensed file format.
7 7
8 #include <cassert> 8 #include <cassert>
9 #include <cstdlib> 9 #include <cstdlib>
10 #include <vector> 10 #include <vector>
11 11
12 #include "third_party/brotli/src/brotli/dec/decode.h" 12 #include "third_party/brotli/dec/decode.h"
13 13
14 #include "opentype-sanitiser.h" 14 #include "opentype-sanitiser.h"
15 #include "ots-memory-stream.h" 15 #include "ots-memory-stream.h"
16 #include "ots.h" 16 #include "ots.h"
17 #include "woff2.h" 17 #include "woff2.h"
18 18
19 #define TABLE_NAME "WOFF2" 19 #define TABLE_NAME "WOFF2"
20 20
21 namespace { 21 namespace {
22 22
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 return OTS_FAILURE(); 982 return OTS_FAILURE();
983 } 983 }
984 } 984 }
985 985
986 return FixChecksums(tables, result); 986 return FixChecksums(tables, result);
987 } 987 }
988 988
989 } // namespace ots 989 } // namespace ots
990 990
991 #undef TABLE_NAME 991 #undef TABLE_NAME
OLDNEW
« no previous file with comments | « third_party/ots/README.chromium ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698