Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Unified Diff: Source/core/platform/image-encoders/skia/PNGImageEncoder.h

Issue 54653004: Break dependency of platform/graphics on html/ImageData.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move struct into ImageBuffer.h Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698