Fix discardable memory bot by calling lockPixels()
authorMatt Sarett <msarett@google.com>
Thu, 16 Mar 2017 01:17:08 +0000 (21:17 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 20 Mar 2017 15:46:52 +0000 (15:46 +0000)
commit480951f618822433874ae45c1ac084419bb79f9d
treee190c7b84165ebb12f8d7e1e0283c6ab794cd9ab
parent1a3c4b8cce9b6b4024bca8814be61c94cebabc19
Fix discardable memory bot by calling lockPixels()

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE

BUG=skia:

Change-Id: I684226544f0e1f0234257ba88f6f2e56c32d5706
Reviewed-on: https://skia-review.googlesource.com/9783
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
src/image/SkImage_Raster.cpp