Remove refSkPixelRef

Change-Id: I4d6e7076d2b87dd208c0eba27491c13f56567420
This commit is contained in:
Diego Perez
2016-10-31 17:52:12 +00:00
parent 0daded4046
commit c93beed4e6

View File

@@ -123,7 +123,7 @@ public final class Canvas_Delegate {
/*package*/ static long initRaster(@Nullable Bitmap bitmap) {
long nativeBitmapOrZero = 0;
if (bitmap != null) {
nativeBitmapOrZero = bitmap.refSkPixelRef();
nativeBitmapOrZero = bitmap.getNativeInstance();
}
if (nativeBitmapOrZero > 0) {
// get the Bitmap from the int