| Index: Source/platform/graphics/GeneratedImage.cpp
|
| diff --git a/Source/platform/graphics/GeneratedImage.cpp b/Source/platform/graphics/GeneratedImage.cpp
|
| index dede8992662ecddfb515c9e2b0cb9bd22749ede9..4dbfb8a987a4ebd523f6c7f73fce5c2c63480fcf 100644
|
| --- a/Source/platform/graphics/GeneratedImage.cpp
|
| +++ b/Source/platform/graphics/GeneratedImage.cpp
|
| @@ -44,7 +44,7 @@ void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length&
|
| }
|
|
|
| void GeneratedImage::drawPattern(GraphicsContext* destContext, const FloatRect& srcRect, const FloatSize& scale,
|
| - const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode,
|
| + const FloatPoint& phase, SkXfermode::Mode compositeOp, const FloatRect& destRect,
|
| const IntSize& repeatSpacing)
|
| {
|
| FloatRect tileRect = srcRect;
|
| @@ -64,7 +64,7 @@ void GeneratedImage::drawPattern(GraphicsContext* destContext, const FloatRect&
|
| picturePattern->setPatternSpaceTransform(patternTransform);
|
|
|
| GraphicsContextStateSaver saver(*destContext);
|
| - destContext->setCompositeOperation(WebCoreCompositeToSkiaComposite(compositeOp, blendMode));
|
| + destContext->setCompositeOperation(compositeOp);
|
| destContext->setFillPattern(picturePattern);
|
| destContext->fillRect(destRect);
|
| }
|
|
|