Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
index ec3f1570c915ab969ebdc025bc0f08eec3347c54..a644ab75e05414bb75cb71604f80daa5362b9883 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -472,7 +472,7 @@ void GraphicsContext::drawInnerShadow(const FloatRoundedRect& rect, const Color& |
} |
OwnPtr<DrawLooperBuilder> drawLooperBuilder = DrawLooperBuilder::create(); |
- drawLooperBuilder->addShadow(shadowOffset, shadowBlur, shadowColor, |
+ drawLooperBuilder->addShadow(FloatSize(shadowOffset), shadowBlur, shadowColor, |
DrawLooperBuilder::ShadowRespectsTransforms, DrawLooperBuilder::ShadowIgnoresAlpha); |
setDrawLooper(drawLooperBuilder.release()); |
fillRectWithRoundedHole(outerRect, roundedHole, fillColor); |
@@ -836,7 +836,7 @@ void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, cons |
{ |
if (contextDisabled() || !image) |
return; |
- image->drawTiled(this, destRect, srcPoint, tileSize, op, repeatSpacing); |
+ image->drawTiled(this, destRect, srcPoint, FloatSize(tileSize), op, repeatSpacing); |
} |
void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const IntRect& srcRect, |