From b560b5c8c03fe1b9b1b8a90c546481b8db7f043e Mon Sep 17 00:00:00 2001 From: reed Date: Sun, 24 Jul 2016 12:30:34 -0700 Subject: lockPixelsAreWritable is deprecated BUG=skia:4328 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2177063002 TBR= Review-Url: https://codereview.chromium.org/2177063002 --- tests/ReadPixelsTest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp index 6aebe6effa..5d3bfc9902 100644 --- a/tests/ReadPixelsTest.cpp +++ b/tests/ReadPixelsTest.cpp @@ -130,7 +130,6 @@ static void fill_src_texture(GrTexture* texture) { #endif static void fill_dst_bmp_with_init_data(SkBitmap* bitmap) { - SkASSERT(bitmap->lockPixelsAreWritable()); SkAutoLockPixels alp(*bitmap); int w = bitmap->width(); int h = bitmap->height(); -- cgit v1.2.3