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

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

Issue 1494883003: Make platform/image-encoders to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | third_party/WebKit/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: third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.h
diff --git a/third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.h b/third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.h
index 6ce970cfb484ac0bf0068a26d66f46b5f4f5ebc6..e59a8e8f701c3a4192196ff1b5a5349aa04bc0dc 100644
--- a/third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.h
+++ b/third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.h
@@ -31,6 +31,7 @@
#ifndef JPEGImageEncoder_h
#define JPEGImageEncoder_h
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -38,6 +39,7 @@ namespace blink {
struct ImageDataBuffer;
class JPEGImageEncoder {
+ STATIC_ONLY(JPEGImageEncoder);
public:
// Encode the image data with a compression quality in [0-100].
static bool encode(const ImageDataBuffer&, int quality, Vector<unsigned char>*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/image-encoders/skia/JPEGImageEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698