Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58915a81 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove bogus SkASSERT

Test: No change in behavior, no new tests

SkASSERT compiles to nothing in typical Android builds, but with
SK_DEBUG defined it is an assert. This assert attempts to call a method
that no longer exists. Remove it.

Change-Id: I7047bb66c4cc0f0bdd6a84562247eed48944739e
parent 5c72a77b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
}