commit | f19421961c59ceabfb88a5c5cdf7c7e31a95b015 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Jul 21 14:24:29 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jul 21 18:49:05 2017 +0000 |
tree | 5908b47d389465242a24c1439c115db57295f883 | |
parent | ce98801bbb5ac251b374f8b565445add43017aaa [diff] [blame] |
don't rely on canvas->readPixels Bug: skia:3216 Change-Id: I01a8d0083c79c0fe71fbc4d8cfdde4fa6e48b636 Reviewed-on: https://skia-review.googlesource.com/25741 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tests/SurfaceSemaphoreTest.cpp b/tests/SurfaceSemaphoreTest.cpp index b13c5d9..cd3b8e5 100644 --- a/tests/SurfaceSemaphoreTest.cpp +++ b/tests/SurfaceSemaphoreTest.cpp
@@ -100,7 +100,7 @@ // read pixels SkBitmap bitmap; bitmap.allocPixels(childII); - childCanvas->readPixels(bitmap, 0, 0); + childSurface->readPixels(bitmap, 0, 0); check_pixels(reporter, bitmap); }