Index: tools/debugger/SkDrawCommand.h |
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h |
index 2739f73f74e2474451b9c470bd6cecc298eeb303..8d309606f3baecebbe03783f2e7ceabef8b095dd 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 @@ public: |
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); |