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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.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/ico/ICOImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
index 3e2923813b925de70c8025c7c8918cff36377b17..73759ba0be3182bc531a84d55c3ea53fc7598a33 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -39,7 +39,7 @@ namespace blink {
class PNGImageDecoder;
// This class decodes the ICO and CUR image formats.
-class PLATFORM_EXPORT ICOImageDecoder : public ImageDecoder {
+class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
public:
ICOImageDecoder(AlphaOption, GammaAndColorProfileOption, size_t maxDecodedBytes);
~ICOImageDecoder() override;
@@ -69,6 +69,7 @@ private:
};
struct IconDirectoryEntry {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
IntSize m_size;
uint16_t m_bitCount;
IntPoint m_hotSpot;

Powered by Google App Engine
This is Rietveld 408576698