| 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 7484888577ba25d5bb7a94e8fdab6a5d4b1d1100..e13310e3af7ae8ff132bebddfefc0ec327ff54a6 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| @@ -44,6 +44,7 @@
|
| #include "platform/geometry/FloatSize.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| #include "platform/graphics/ImageBuffer.h"
|
| +#include "skia/ext/cdl_paint.h"
|
| #include "wtf/MathExtras.h"
|
| #include "wtf/PtrUtil.h"
|
| #include "wtf/typed_arrays/ArrayBufferContents.h"
|
| @@ -240,9 +241,10 @@ std::unique_ptr<Shape> Shape::createRasterShape(Image* image,
|
| // that loads SVG Images during paint invalidations to mark layoutObjects
|
| // for layout, which is not allowed. See https://crbug.com/429346
|
| ImageObserverDisabler disabler(image);
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| IntRect imageSourceRect(IntPoint(), image->size());
|
| IntRect imageDestRect(IntPoint(), imageRect.size());
|
| +
|
| image->draw(imageBuffer->canvas(), paint, imageDestRect, imageSourceRect,
|
| DoNotRespectImageOrientation,
|
| Image::DoNotClampImageToSourceRect);
|
|
|