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

Unified Diff: third_party/harfbuzz-ng/gsubgpos.patch

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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/harfbuzz-ng/README.chromium ('k') | third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/gsubgpos.patch
diff --git a/third_party/harfbuzz-ng/gsubgpos.patch b/third_party/harfbuzz-ng/gsubgpos.patch
deleted file mode 100644
index 47709f1126d0f11e7bc011230b5a322c23af98f8..0000000000000000000000000000000000000000
--- a/third_party/harfbuzz-ng/gsubgpos.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh
-index 6ff15d2..dafca7f 100644
---- a/src/hb-ot-layout-gsubgpos-private.hh
-+++ b/src/hb-ot-layout-gsubgpos-private.hh
-@@ -1498,6 +1498,7 @@ struct ContextFormat3
- TRACE_SANITIZE (this);
- if (!c->check_struct (this)) return TRACE_RETURN (false);
- unsigned int count = glyphCount;
-+ if (!count) return TRACE_RETURN (false); /* We want to access coverage[0] freely. */
- if (!c->check_array (coverage, coverage[0].static_size, count)) return TRACE_RETURN (false);
- for (unsigned int i = 0; i < count; i++)
- if (!coverage[i].sanitize (c, this)) return TRACE_RETURN (false);
-@@ -2109,6 +2110,7 @@ struct ChainContextFormat3
- if (!backtrack.sanitize (c, this)) return TRACE_RETURN (false);
- OffsetArrayOf<Coverage> &input = StructAfter<OffsetArrayOf<Coverage> > (backtrack);
- if (!input.sanitize (c, this)) return TRACE_RETURN (false);
-+ if (!input.len) return TRACE_RETURN (false); /* To be consistent with Context. */
- OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input);
- if (!lookahead.sanitize (c, this)) return TRACE_RETURN (false);
- ArrayOf<LookupRecord> &lookup = StructAfter<ArrayOf<LookupRecord> > (lookahead);
« no previous file with comments | « third_party/harfbuzz-ng/README.chromium ('k') | third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698