Index: Source/platform/graphics/Image.h |
diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h |
index 0ab5cad0cdfea33edcabc65d79901aa95dc437a4..cc3cc9604f15b63978ed3a536da721a759f7e828 100644 |
--- a/Source/platform/graphics/Image.h |
+++ b/Source/platform/graphics/Image.h |
@@ -139,6 +139,9 @@ private: |
ImageObserver* m_imageObserver; |
}; |
+#define DEFINE_IMAGE_TYPE_CASTS(typeName) \ |
+ DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##typeName()) |
+ |
} |
#endif |