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 6316ee8fe75f0b56da09227a71e42a06509629bb..94ff5e012974c4237c5cf7f6f9647be1a4f6ca8f 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp |
+++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp |
@@ -43,6 +43,7 @@ |
#include "platform/geometry/FloatSize.h" |
#include "platform/graphics/GraphicsTypes.h" |
#include "platform/graphics/ImageBuffer.h" |
+#include "platform/graphics/paint/PaintFlags.h" |
#include "wtf/MathExtras.h" |
#include "wtf/PtrUtil.h" |
#include "wtf/typed_arrays/ArrayBufferContents.h" |
@@ -239,7 +240,7 @@ 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; |
+ PaintFlags paint; |
IntRect imageSourceRect(IntPoint(), image->size()); |
IntRect imageDestRect(IntPoint(), imageRect.size()); |
// TODO(ccameron): No color conversion is required here. |