Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index a17f336c9c0d9f0d8a9f3b07a76c920e1adabf04..241904b3a3d8bc68fee5f4537b8a1469952dd381 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -253,7 +253,7 @@ SkImage* SkImage::NewFromBitmap(const SkBitmap& bm) { |
#endif |
// This will check for immutable (share or copy) |
- return SkNewImageFromRasterBitmap(bm, nullptr, kUnlocked_SharedPixelRefMode); |
+ return SkNewImageFromRasterBitmap(bm, nullptr); |
} |
bool SkImage::asLegacyBitmap(SkBitmap* bitmap, LegacyBitmapMode mode) const { |