[shape-plan] Only use shape-plan key to initialize hb_ot_shape_plan_t
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Nov 2018 23:05:02 +0000 (18:05 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Nov 2018 23:05:02 +0000 (18:05 -0500)
commit1082338525c96206f43785e283e41b3e959871fd
treee620adeaa01a138d1768e7b47a165a2ed6d0fc1b
parent7ac03f88a22325fb4d6b77ee7694ad11f6a99bcb
[shape-plan] Only use shape-plan key to initialize hb_ot_shape_plan_t

Such that we don't accidentally use info not in the cache key.
src/hb-ot-shape.cc
src/hb-ot-shape.hh
src/hb-shape-plan.cc