summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp b/chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
index 90eabf6658f..772612b029e 100644
--- a/chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
+++ b/chromium/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
@@ -38,7 +38,7 @@ void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect&
destContext->clip(destRect);
destContext->translate(destRect.x(), destRect.y());
if (destRect.size() != srcRect.size())
- destContext->scale(FloatSize(destRect.width() / srcRect.width(), destRect.height() / srcRect.height()));
+ destContext->scale(destRect.width() / srcRect.width(), destRect.height() / srcRect.height());
destContext->translate(-srcRect.x(), -srcRect.y());
destContext->setFillGradient(m_gradient);
destContext->fillRect(FloatRect(FloatPoint(), m_size));