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

Unified Diff: third_party/woff2/src/variable_length.cc

Issue 2736873002: Update woff2 to cbea7b9 (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/woff2/src/glyph.cc ('k') | third_party/woff2/src/woff2_dec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/woff2/src/variable_length.cc
diff --git a/third_party/woff2/src/variable_length.cc b/third_party/woff2/src/variable_length.cc
index 944a17f2e289be88ae47c5af30bae783e1f3b3dc..264eb0a1603cdd6c31b3df4bad18e9f621191066 100644
--- a/third_party/woff2/src/variable_length.cc
+++ b/third_party/woff2/src/variable_length.cc
@@ -49,8 +49,8 @@ void Write255UShort(std::vector<uint8_t>* out, int value) {
void Store255UShort(int val, size_t* offset, uint8_t* dst) {
std::vector<uint8_t> packed;
Write255UShort(&packed, val);
- for (uint8_t val : packed) {
- dst[(*offset)++] = val;
+ for (uint8_t packed_byte : packed) {
+ dst[(*offset)++] = packed_byte;
}
}
« no previous file with comments | « third_party/woff2/src/glyph.cc ('k') | third_party/woff2/src/woff2_dec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698