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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageFrame.h

Issue 1493633004: Make platform/image-decoders 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/image-decoders/ImageFrame.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
index fb7425755bd77887066531b171c6c8dc21c5b2d8..b5d1490fa484e330e0b3ce1084a75bf873d456e1 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
@@ -30,6 +30,7 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/IntRect.h"
#include "third_party/skia/include/core/SkBitmap.h"
+#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
#include "wtf/PassRefPtr.h"
@@ -37,7 +38,8 @@ namespace blink {
// ImageFrame represents the decoded image data. This buffer is what all
// decoders write a single frame into.
-class PLATFORM_EXPORT ImageFrame {
+class PLATFORM_EXPORT ImageFrame final {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
enum Status { FrameEmpty, FramePartial, FrameComplete };
enum DisposalMethod {

Powered by Google App Engine
This is Rietveld 408576698