Check file name valid or not.
Change-Id: Ia122050cabf68671c27e8aef3c69ec038c790899 Reviewed-on: https://skia-review.googlesource.com/130461 Commit-Queue: Ben Wagner <bungeman@google.com> Commit-Queue: Bruce Wang <brucewang@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
This commit is contained in:
parent
cd21d676b7
commit
61f36d3225
@ -439,7 +439,7 @@ DEF_TEST(Codec_incomplete, r) {
|
||||
"images/mandrill.wbmp",
|
||||
}) {
|
||||
sk_sp<SkData> file = GetResourceAsData(name);
|
||||
if (!name) {
|
||||
if (!file) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user