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

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

Issue 837643002: Remove Uint8ClampedArray use from ImageBuffer.h ImageDataBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months 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/platform/image-encoders/skia/PNGImageEncoder.h
diff --git a/Source/platform/image-encoders/skia/PNGImageEncoder.h b/Source/platform/image-encoders/skia/PNGImageEncoder.h
index 79a84af01ab8a08ac1743828bde3a3d7c6ad2626..224d19259230ebc7abd582b7b1b6c56c5af14cbd 100644
--- a/Source/platform/image-encoders/skia/PNGImageEncoder.h
+++ b/Source/platform/image-encoders/skia/PNGImageEncoder.h
@@ -39,9 +39,9 @@ namespace blink {
struct ImageDataBuffer;
-// Interface for encoding PNG data. This is a wrapper around libpng.
class PNGImageEncoder {
public:
+ // Encode the input data with default compression quality. See also https://crbug.com/179289
static bool encode(const SkBitmap&, Vector<unsigned char>* output);
static bool encode(const ImageDataBuffer&, Vector<unsigned char>* output);
};
« no previous file with comments | « Source/platform/image-encoders/skia/JPEGImageEncoder.cpp ('k') | Source/platform/image-encoders/skia/PNGImageEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698