layers: Don't stash pointer to caller memory in bound function
authorChris Forbes <chrisforbes@google.com>
Wed, 30 Mar 2016 22:22:37 +0000 (11:22 +1300)
committerTobin Ehlis <tobine@google.com>
Thu, 31 Mar 2016 19:03:26 +0000 (13:03 -0600)
commitfeb160a6976e606a38e6950aa0213c5dcd85e174
treeaeec4768ce8fb005428926651abebd1b852707e1
parentf4e547a885d5c77f1a9508c9230e8531e30da3be
layers: Don't stash pointer to caller memory in bound function

We were already accumulating all the events the CB touches -- so just
pass an index into that.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp