Index: Source/core/platform/image-encoders/skia/JPEGImageEncoder.h |
diff --git a/Source/core/platform/image-encoders/skia/JPEGImageEncoder.h b/Source/core/platform/image-encoders/skia/JPEGImageEncoder.h |
index ca3ef4886ea0f5bccbbf3cb80d39f7121169b62e..8c53446d906917cc916fc38a8e16f6ece3aa7f21 100644 |
--- a/Source/core/platform/image-encoders/skia/JPEGImageEncoder.h |
+++ b/Source/core/platform/image-encoders/skia/JPEGImageEncoder.h |
@@ -37,13 +37,13 @@ class SkBitmap; |
namespace WebCore { |
-class ImageData; |
+struct ImageDataBuffer; |
class JPEGImageEncoder { |
public: |
// Encode the input data with a compression quality in [0-100]. |
static bool encode(const SkBitmap&, int quality, Vector<unsigned char>*); |
- static bool encode(const ImageData&, int quality, Vector<unsigned char>*); |
+ static bool encode(const ImageDataBuffer&, int quality, Vector<unsigned char>*); |
// For callers: provide a reasonable compression quality default. |
enum Quality { DefaultCompressionQuality = 92 }; |