| Index: Source/platform/graphics/GradientGeneratedImage.cpp
|
| diff --git a/Source/platform/graphics/GradientGeneratedImage.cpp b/Source/platform/graphics/GradientGeneratedImage.cpp
|
| index 27308263994301605e95bc0fb34160c66607be12..8b20e225983142fd60d7d74a4e8b4b4d9947eb31 100644
|
| --- a/Source/platform/graphics/GradientGeneratedImage.cpp
|
| +++ b/Source/platform/graphics/GradientGeneratedImage.cpp
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace blink {
|
|
|
| -void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode)
|
| +void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, WebBlendMode blendMode)
|
| {
|
| GraphicsContextStateSaver stateSaver(*destContext);
|
| destContext->setCompositeOperation(compositeOp, blendMode);
|
| @@ -45,7 +45,7 @@ void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect&
|
| }
|
|
|
| void GradientGeneratedImage::drawPattern(GraphicsContext* destContext, const FloatRect& srcRect, const FloatSize& scale,
|
| - const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
|
| + const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing)
|
| {
|
| float stepX = srcRect.width() + repeatSpacing.width();
|
| float stepY = srcRect.height() + repeatSpacing.height();
|
| @@ -99,4 +99,4 @@ void GradientGeneratedImage::drawPattern(GraphicsContext* destContext, const Flo
|
| }
|
| }
|
|
|
| -}
|
| +} // namespace blink
|
|
|