Index: Source/core/platform/graphics/Image.cpp |
diff --git a/Source/core/platform/graphics/Image.cpp b/Source/core/platform/graphics/Image.cpp |
index c0a59b3d41c2b8d9190d7c9d17cc0e18fb2625b7..9da367c426a2ec02f62f38a83ff3a2de2ac70178 100644 |
--- a/Source/core/platform/graphics/Image.cpp |
+++ b/Source/core/platform/graphics/Image.cpp |
@@ -122,6 +122,16 @@ void Image::draw(GraphicsContext* ctx, const FloatRect& dstRect, const FloatRect |
{ |
draw(ctx, dstRect, srcRect, op, blendMode); |
} |
+void Image::drawForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& dstRect, |
+ const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode) |
+{ |
+ draw(context, dstRect, srcRect, compositeOp, blendMode); |
+} |
+void Image::drawPatternForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& srcRect, |
+ const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, BlendMode blendMode) |
+{ |
+ drawPattern(context, srcRect, scale, phase, compositeOp, dstRect); |
+} |
void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize, CompositeOperator op, BlendMode blendMode) |
{ |