| Index: tools/skiaserve/Request.cpp
|
| diff --git a/tools/skiaserve/Request.cpp b/tools/skiaserve/Request.cpp
|
| index d27f2c07926f3a7b639d3400331e2d5c308e83c9..eb1ccce039cb84212173c74a15e56d908c8d3088 100644
|
| --- a/tools/skiaserve/Request.cpp
|
| +++ b/tools/skiaserve/Request.cpp
|
| @@ -63,7 +63,7 @@ sk_sp<SkData> Request::writeCanvasToPng(SkCanvas* canvas) {
|
|
|
| // write to an opaque png (black background)
|
| SkDynamicMemoryWStream buffer;
|
| - SkDrawCommand::WritePNG((const png_bytep) encodedBitmap->bytes(), bmp->width(), bmp->height(),
|
| + SkDrawCommand::WritePNG(encodedBitmap->bytes(), bmp->width(), bmp->height(),
|
| buffer, true);
|
| return buffer.detachAsData();
|
| }
|
|
|