Loading libs/hwui/hwui/Bitmap.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -307,7 +307,7 @@ void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTab } } mRowBytes = rowBytes; mRowBytes = rowBytes; if (mColorTable.get() != ctable) { if (mColorTable.get() != ctable) { mColorTable.reset(ctable); mColorTable.reset(SkSafeRef(ctable)); } } // Need to validate the alpha type to filter against the color type // Need to validate the alpha type to filter against the color type Loading Loading
libs/hwui/hwui/Bitmap.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -307,7 +307,7 @@ void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTab } } mRowBytes = rowBytes; mRowBytes = rowBytes; if (mColorTable.get() != ctable) { if (mColorTable.get() != ctable) { mColorTable.reset(ctable); mColorTable.reset(SkSafeRef(ctable)); } } // Need to validate the alpha type to filter against the color type // Need to validate the alpha type to filter against the color type Loading