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

Commit 7b575e52 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SkColorTypeShiftPerPixel is deprecated"

parents 3c61f917 937c6940
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);