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

Commit 42ba60c1 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove undefined method allocatePixels

Definition was removed in Ib936e81877790849118420f5e565fc8f4466c1be.

Bug: N/A
Test: make
Change-Id: Icc03933b48e49e7bbc2e94ce0cddeb5c87b5b615
parent 6afae33d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -125,14 +125,6 @@ public:
    static jobject createBitmapRegionDecoder(JNIEnv* env,
                                             android::BitmapRegionDecoderWrapper* bitmap);

    /**
     * Given a bitmap we natively allocate a memory block to store the contents
     * of that bitmap.  The memory is then attached to the bitmap via an
     * SkPixelRef, which ensures that upon deletion the appropriate caches
     * are notified.
     */
    static bool allocatePixels(JNIEnv* env, SkBitmap* bitmap);

    /** Copy the colors in colors[] to the bitmap, convert to the correct
        format along the way.
        Whether to use premultiplied pixels is determined by dstBitmap's alphaType.