| Index: third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| index 1dbbd2e9093bd721a75670421cfaa2e9c6f8f869..9ec2ce863ce65b8b19f128e6f6887f1cf304a062 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| @@ -202,7 +202,7 @@ PassOwnPtr<Shape> Shape::createRasterShape(Image* image, float threshold, const
|
| // layout, which is not allowed. See https://crbug.com/429346
|
| ImageObserverDisabler disabler(image);
|
| SkPaint paint;
|
| - IntRect imageSourceRect(IntPoint(), image->size());
|
| + IntRect imageSourceRect(IntPoint(), image->defaultConcreteObjectSize());
|
| IntRect imageDestRect(IntPoint(), imageRect.size());
|
| image->draw(imageBuffer->canvas(), paint, imageDestRect, imageSourceRect, DoNotRespectImageOrientation, Image::DoNotClampImageToSourceRect);
|
|
|
|
|