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

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

Issue 1314763008: Remove JPEG encoder SkBitmap API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/platform/image-encoders/skia/JPEGImageEncoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/image-encoders/skia/JPEGImageEncoder.h
diff --git a/Source/platform/image-encoders/skia/JPEGImageEncoder.h b/Source/platform/image-encoders/skia/JPEGImageEncoder.h
index e328baf7194850c4ab6f9ae0687cc044ffd47753..6ce970cfb484ac0bf0068a26d66f46b5f4f5ebc6 100644
--- a/Source/platform/image-encoders/skia/JPEGImageEncoder.h
+++ b/Source/platform/image-encoders/skia/JPEGImageEncoder.h
@@ -33,16 +33,13 @@
#include "wtf/Vector.h"
-class SkBitmap;
-
namespace blink {
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>*);
+ // Encode the image data with a compression quality in [0-100].
static bool encode(const ImageDataBuffer&, int quality, Vector<unsigned char>*);
// For callers: provide a reasonable compression quality default.
« no previous file with comments | « no previous file | Source/platform/image-encoders/skia/JPEGImageEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698