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

Commit 937c6940 authored by Mike Reed's avatar Mike Reed
Browse files

SkColorTypeShiftPerPixel is deprecated

Test: make

Change-Id: Ib55e1d8d0bd173be0d5afa70b40fa0d867e20fd1
parent 33903da4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ public:
    Bitmap(GraphicBuffer* buffer, const SkImageInfo& info);

    int rowBytesAsPixels() const {
        return rowBytes() >> SkColorTypeShiftPerPixel(mInfo.colorType());
        return rowBytes() >> mInfo.shiftPerPixel();
    }

    void reconfigure(const SkImageInfo& info, size_t rowBytes);