Index: Source/core/platform/image-encoders/skia/WEBPImageEncoder.h |
diff --git a/Source/core/platform/image-encoders/skia/WEBPImageEncoder.h b/Source/core/platform/image-encoders/skia/WEBPImageEncoder.h |
index e04c7023082e237f2c98223b0f435e9e9830bdbd..e138bc8267327ad1bbf9e549e62c176651d4ac35 100644 |
--- a/Source/core/platform/image-encoders/skia/WEBPImageEncoder.h |
+++ b/Source/core/platform/image-encoders/skia/WEBPImageEncoder.h |
@@ -37,13 +37,13 @@ class SkBitmap; |
namespace WebCore { |
-class ImageData; |
+struct ImageDataBuffer; |
class WEBPImageEncoder { |
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 = 80 }; |