From 4edb5d219eb99aa1e8fbe5e37260d3b34314e54b Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Mon, 17 Apr 2017 11:02:51 -0400 Subject: hide lockpixels api behind flag guarded by SK_SUPPORT_OBSOLETE_LOCKPIXELS needs https://codereview.chromium.org/2820873002/# to land first Bug: skia:6481 Change-Id: I1c39902cbf6fe99f622adfa8192733b95f7fea09 Change-Id: I1c39902cbf6fe99f622adfa8192733b95f7fea09 Reviewed-on: https://skia-review.googlesource.com/13580 Reviewed-by: Florin Malita Reviewed-by: Leon Scroggins Commit-Queue: Mike Reed --- tests/DrawTextTest.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/DrawTextTest.cpp') diff --git a/tests/DrawTextTest.cpp b/tests/DrawTextTest.cpp index bf9bd39f8d..a98b36f321 100644 --- a/tests/DrawTextTest.cpp +++ b/tests/DrawTextTest.cpp @@ -37,9 +37,6 @@ static bool compare(const SkBitmap& ref, const SkIRect& iref, const int xOff = itest.fLeft - iref.fLeft; const int yOff = itest.fTop - iref.fTop; - SkAutoLockPixels alpRef(ref); - SkAutoLockPixels alpTest(test); - for (int y = 0; y < test.height(); ++y) { for (int x = 0; x < test.width(); ++x) { SkColor testColor = test.getColor(x, y); -- cgit v1.2.3