fix for valgrind

BUG=skia:

Review URL: https://codereview.chromium.org/816103003
1 file changed