skp_parser
compiles with GN.
NOTRY=true
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2281733003
Review-Url: https://codereview.chromium.org/2281733003
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h
index 2739f73..8d30960 100644
--- a/tools/debugger/SkDrawCommand.h
+++ b/tools/debugger/SkDrawCommand.h
@@ -8,8 +8,6 @@
#ifndef SKDRAWCOMMAND_H_
#define SKDRAWCOMMAND_H_
-#include "png.h"
-
#include "SkCanvas.h"
#include "SkTLazy.h"
#include "SkPath.h"
@@ -65,7 +63,7 @@
static const int kOpTypeCount = kLast_OpType + 1;
- static void WritePNG(const png_bytep rgba, png_uint_32 width, png_uint_32 height,
+ static void WritePNG(const uint8_t* rgba, unsigned width, unsigned height,
SkWStream& out, bool isOpaque);
SkDrawCommand(OpType opType);