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

Unified Diff: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h

Issue 1497683002: Make platform/graphics 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
Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
index a2bbaf0c4c39a868dfbab7e9fd1b91c3834e916e..970d74e762ce84f23ea097750ca31a04a2c99d9a 100644
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
@@ -30,6 +30,8 @@
#include "SkImageInfo.h"
#include "platform/PlatformExport.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
class SkData;
@@ -44,6 +46,8 @@ class ImageFrameGenerator;
// This class does not own an ImageDecode. It does not own encoded data. It serves
// as and adapter to ImageFrameGenerator which actually performs decoding.
class PLATFORM_EXPORT DecodingImageGenerator final : public SkImageGenerator {
+ USING_FAST_MALLOC(DecodingImageGenerator);
+ WTF_MAKE_NONCOPYABLE(DecodingImageGenerator);
public:
static SkImageGenerator* create(SkData*);

Powered by Google App Engine
This is Rietveld 408576698