diff options
Diffstat (limited to 'third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp')
-rw-r--r-- | third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp index eace3cd..724405a 100644 --- a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp +++ b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp @@ -44,10 +44,10 @@ void GradientGeneratedImage::draw(SkCanvas* canvas, const SkPaint& paint, const canvas->drawRect(SkRect::MakeWH(m_size.width(), m_size.height()), gradientPaint); } -void GradientGeneratedImage::drawTile(GraphicsContext* context, const FloatRect& srcRect) +void GradientGeneratedImage::drawTile(GraphicsContext& context, const FloatRect& srcRect) { - context->setFillGradient(m_gradient); - context->fillRect(srcRect); + context.setFillGradient(m_gradient); + context.fillRect(srcRect); } } // namespace blink |