Index: Source/core/platform/image-encoders/skia/PNGImageEncoder.h |
diff --git a/Source/core/platform/image-encoders/skia/PNGImageEncoder.h b/Source/core/platform/image-encoders/skia/PNGImageEncoder.h |
index a8f0ea53d0e2b55796009e2ce17ad74a18ac4332..e8fc52f121c399ce101461d7c6ea8d2deea2d098 100644 |
--- a/Source/core/platform/image-encoders/skia/PNGImageEncoder.h |
+++ b/Source/core/platform/image-encoders/skia/PNGImageEncoder.h |
@@ -37,13 +37,13 @@ class SkBitmap; |
namespace WebCore { |
-class ImageData; |
+struct ImageDataBuffer; |
// Interface for encoding PNG data. This is a wrapper around libpng. |
class PNGImageEncoder { |
public: |
static bool encode(const SkBitmap&, Vector<unsigned char>* output); |
- static bool encode(const ImageData&, Vector<unsigned char>* output); |
+ static bool encode(const ImageDataBuffer&, Vector<unsigned char>* output); |
}; |
} // namespace WebCore |