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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageOrientation.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/ImageOrientation.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageOrientation.h b/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
index 98b06db548611f0055fa99176a387b0d08eb9f85..67c507ba2fbf36cc6537b98503a6fb3150af8a76 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
@@ -27,6 +27,7 @@
#define ImageOrientation_h
#include "platform/PlatformExport.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -55,7 +56,8 @@ enum RespectImageOrientationEnum {
RespectImageOrientation = 1
};
-class PLATFORM_EXPORT ImageOrientation {
+class PLATFORM_EXPORT ImageOrientation final {
+ DISALLOW_NEW();
public:
ImageOrientation(ImageOrientationEnum orientation = DefaultImageOrientation)
: m_orientation(orientation)

Powered by Google App Engine
This is Rietveld 408576698