Index: src/utils/SkCanvasStateUtils.cpp |
diff --git a/src/utils/SkCanvasStateUtils.cpp b/src/utils/SkCanvasStateUtils.cpp |
index 64f62dd8b190fb507da998294b489438157dd0c7..eaee61b5e829a6534c87f0180b7f4c1856e7a7b0 100644 |
--- a/src/utils/SkCanvasStateUtils.cpp |
+++ b/src/utils/SkCanvasStateUtils.cpp |
@@ -291,8 +291,7 @@ static SkCanvas* create_canvas_from_canvas_layer(const SkCanvasLayerState& layer |
bitmap.installPixels(SkImageInfo::Make(layerState.width, layerState.height, |
colorType, kPremul_SkAlphaType), |
- layerState.raster.pixels, layerState.raster.rowBytes, |
- NULL, NULL); |
+ layerState.raster.pixels, layerState.raster.rowBytes); |
SkASSERT(!bitmap.empty()); |
SkASSERT(!bitmap.isNull()); |