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

Unified Diff: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.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/RecordingImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
index 28cc6d5687150f426872476cb6a5ba3c0d5925ab..c104465212478811c8f03765bb507ce3d9f44de9 100644
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
@@ -9,6 +9,8 @@
#include "platform/graphics/ImageBufferSurface.h"
#include "public/platform/WebThread.h"
#include "third_party/skia/include/core/SkCanvas.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
@@ -21,9 +23,13 @@ class ImageBuffer;
class RecordingImageBufferSurfaceTest;
class RecordingImageBufferFallbackSurfaceFactory {
+ USING_FAST_MALLOC(RecordingImageBufferFallbackSurfaceFactory);
+ WTF_MAKE_NONCOPYABLE(RecordingImageBufferFallbackSurfaceFactory);
public:
virtual PassOwnPtr<ImageBufferSurface> createSurface(const IntSize&, OpacityMode) = 0;
virtual ~RecordingImageBufferFallbackSurfaceFactory() { }
+protected:
+ RecordingImageBufferFallbackSurfaceFactory() { }
};
class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {

Powered by Google App Engine
This is Rietveld 408576698