X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fplatform%2Fgraphics%2FGradientGeneratedImage.cpp;h=8b20e225983142fd60d7d74a4e8b4b4d9947eb31;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=772612b029ebb760fc87872fe9b061dafe9079cf;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp b/src/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp index 772612b..8b20e22 100644 --- a/src/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp +++ b/src/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp @@ -29,9 +29,9 @@ #include "platform/geometry/FloatRect.h" #include "platform/graphics/GraphicsContextStateSaver.h" -namespace WebCore { +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