always check lock() result

Change-Id: I0400144c522dfd60a8b45d968d1346238067f7f3
Reviewed-on: https://skia-review.googlesource.com/c/177361
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
1 file changed