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

Unified Diff: third_party/WebKit/Source/platform/image-encoders/skia/WEBPImageEncoder.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 | « third_party/WebKit/Source/platform/image-encoders/skia/PNGImageEncoder.h ('k') | no next file » | 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/WEBPImageEncoder.h
diff --git a/third_party/WebKit/Source/platform/image-encoders/skia/WEBPImageEncoder.h b/third_party/WebKit/Source/platform/image-encoders/skia/WEBPImageEncoder.h
index 3a0e9c2df4735161dceeeb3f66c98b0315c91583..cf1e8bde7e0ec66d9eaa32e35bb057e8e72b8b3e 100644
--- a/third_party/WebKit/Source/platform/image-encoders/skia/WEBPImageEncoder.h
+++ b/third_party/WebKit/Source/platform/image-encoders/skia/WEBPImageEncoder.h
@@ -31,6 +31,7 @@
#ifndef WEBPImageEncoder_h
#define WEBPImageEncoder_h
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -38,6 +39,7 @@ namespace blink {
struct ImageDataBuffer;
class WEBPImageEncoder {
+ STATIC_ONLY(WEBPImageEncoder);
public:
// Encode the input data with a compression quality in [0-100].
static bool encode(const ImageDataBuffer&, int quality, Vector<unsigned char>*);
« no previous file with comments | « third_party/WebKit/Source/platform/image-encoders/skia/PNGImageEncoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698