diff --git a/core/jni/android_view_SurfaceControl.cpp b/core/jni/android_view_SurfaceControl.cpp index 5e5d59b8aacad..0ef5445afffc4 100644 --- a/core/jni/android_view_SurfaceControl.cpp +++ b/core/jni/android_view_SurfaceControl.cpp @@ -72,7 +72,6 @@ static struct { // Implements SkMallocPixelRef::ReleaseProc, to delete the screenshot on unref. void DeleteScreenshot(void* addr, void* context) { - SkASSERT(addr == ((ScreenshotClient*) context)->getPixels()); delete ((ScreenshotClient*) context); }