commit | c03716dd762a81c8bc874619000189cb4254ec42 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Mon Sep 17 11:39:51 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Sep 17 17:14:26 2018 +0000 |
tree | 3c6c7c1341b030fa206a809fad9e2b3d3b4a840c | |
parent | 581cf0dfc6b9ed83d6ede9a65dc6dd95546456b8 [diff] |
Fix nullptr deref in cache lookup An inner function was taking a ptr where almost everything calling took a ref. All the ref's were ok, but the test was still passing in a nullptr. Fix API and test. Change-Id: I5bcb93f52fc1c58f7bb135b5891223ed863eaede Reviewed-on: https://skia-review.googlesource.com/154860 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>