Merge "SkColorTypeShiftPerPixel is deprecated"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7b575e528d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user