aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-10-17 13:19:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-17 13:19:02 -0700
commita73d76af31d8ad04716fb611d7987dfd1762f5e9 (patch)
tree0d5608a6f72d7c802d608b684882fb0d83f46c87 /tools/skiaserve
parentea4567c1b080361b43eb0f52bb63e33f858baf94 (diff)
skp_parser
compiles with GN. NOTRY=true GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2281733003 Review-Url: https://codereview.chromium.org/2281733003
Diffstat (limited to 'tools/skiaserve')
-rw-r--r--tools/skiaserve/Request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skiaserve/Request.cpp b/tools/skiaserve/Request.cpp
index d27f2c0792..eb1ccce039 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();
}