Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index e8da12920f2a75768021e527d7d3cba1cdec4714..f501468a330de7659adc9a6b1233722bf88cb413 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -2672,10 +2672,5 @@ SkCanvas* SkCanvas::NewRasterDirect(const SkImageInfo& info, void* pixels, size_ |
if (!bitmap.installPixels(info, pixels, rowBytes)) { |
return NULL; |
} |
- |
- // should this functionality be moved into allocPixels()? |
- if (!bitmap.info().isOpaque()) { |
- bitmap.eraseColor(0); |
- } |
return SkNEW_ARGS(SkCanvas, (bitmap)); |
} |