summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/Image.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/Image.h')
-rw-r--r--Source/WebCore/platform/graphics/Image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/Image.h b/Source/WebCore/platform/graphics/Image.h
index b78fc7d81..3ff48236a 100644
--- a/Source/WebCore/platform/graphics/Image.h
+++ b/Source/WebCore/platform/graphics/Image.h
@@ -163,6 +163,10 @@ public:
virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform,
const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect);
+#if ENABLE(IMAGE_DECODER_DOWN_SAMPLING)
+ FloatRect adjustSourceRectForDownSampling(const FloatRect& srcRect, const IntSize& scaledSize) const;
+#endif
+
#if !ASSERT_DISABLED
virtual bool notSolidColor() { return true; }
#endif