Index: tools/sk_tool_utils.h |
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h |
index 3eabcdcd0fda7db431b954586ad63ad25743202c..dab42e31fdc8cecb335887198039124e923e06ae 100644 |
--- a/tools/sk_tool_utils.h |
+++ b/tools/sk_tool_utils.h |
@@ -114,14 +114,6 @@ namespace sk_tool_utils { |
SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y, |
int textSize, const char* str); |
- // Encodes to PNG, unless there is already encoded data, in which case that gets |
- // used. |
- class PngPixelSerializer : public SkPixelSerializer { |
- public: |
- bool onUseEncodedData(const void*, size_t) override; |
- SkData* onEncode(const SkPixmap&) override; |
- }; |
- |
// A helper for inserting a drawtext call into a SkTextBlobBuilder |
void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, |
SkScalar x, SkScalar y); |