Image subclasses should support is<> and downcast<>
[WebKit-https.git] / Source / WebCore / ChangeLog
index f73313a..0aba38b 100644 (file)
@@ -1,3 +1,20 @@
+2017-09-19  Simon Fraser  <simon.fraser@apple.com>
+
+        Image subclasses should support is<> and downcast<>
+        https://bugs.webkit.org/show_bug.cgi?id=177209
+
+        Reviewed by Tim Horton.
+
+        Add SPECIALIZE_TYPE_TRAITS_IMAGE() for Image subclasses.
+
+        Also use #pragma once in these headers.
+
+        * platform/graphics/CrossfadeGeneratedImage.h:
+        * platform/graphics/GeneratedImage.h:
+        * platform/graphics/GradientImage.h:
+        * platform/graphics/Image.h:
+        * platform/graphics/NamedImageGeneratedImage.h:
+
 2017-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         REGRESSION (r215613): Incorrect corners clipping with border-radius