Index: gm/peekpixels.cpp |
diff --git a/gm/peekpixels.cpp b/gm/peekpixels.cpp |
index 484e4e03b408c1e158cdf8d3d63814356d1bc744..01a60c124ff70581bea3c0d0789e36043e9c21fa 100644 |
--- a/gm/peekpixels.cpp |
+++ b/gm/peekpixels.cpp |
@@ -46,8 +46,7 @@ protected: |
SkImageInfo info; |
size_t rowBytes; |
const void* addr = surfCanvas->peekPixels(&info, &rowBytes); |
- if (addr && bitmap.installPixels(info, const_cast<void*>(addr), |
- rowBytes, NULL, NULL)) { |
+ if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) { |
canvas->drawBitmap(bitmap, 0, 0, NULL); |
} |
} |