Index: Source/WebCore/platform/graphics/Image.h |
=================================================================== |
--- Source/WebCore/platform/graphics/Image.h (revision 93492) |
+++ Source/WebCore/platform/graphics/Image.h (working copy) |
@@ -88,6 +88,7 @@ |
static bool supportsType(const String&); |
virtual bool isBitmapImage() const { return false; } |
+ virtual bool currentFrameHasAlpha() { return false; } |
// Derived classes should override this if they can assure that |
// the image contains only resources from its own security origin. |
@@ -157,6 +158,10 @@ |
virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform, |
const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect); |
+#if !ASSERT_DISABLED |
+ virtual bool notSolidColor() { return true; } |
+#endif |
+ |
protected: |
Image(ImageObserver* = 0); |