| Index: third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| index db82f6d9235e54c53f83222da1ebe1555d410a46..1df4913ae84b08ebfbbaee183dc6bb02c3e2f741 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| @@ -34,7 +34,7 @@
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/paint/SkPictureBuilder.h"
|
| #include "third_party/skia/include/core/SkImage.h"
|
| -#include "third_party/skia/include/core/SkPicture.h"
|
| +#include "skia/ext/cdl_picture.h"
|
|
|
| namespace blink {
|
|
|
| @@ -51,7 +51,7 @@ void GeneratedImage::drawPattern(GraphicsContext& destContext,
|
| SkPictureBuilder builder(tileRect, nullptr, &destContext);
|
| builder.context().beginRecording(tileRect);
|
| drawTile(builder.context(), srcRect);
|
| - sk_sp<SkPicture> tilePicture = builder.endRecording();
|
| + sk_sp<CdlPicture> tilePicture = builder.endRecording();
|
|
|
| SkMatrix patternMatrix = SkMatrix::MakeTrans(phase.x(), phase.y());
|
| patternMatrix.preScale(scale.width(), scale.height());
|
| @@ -60,7 +60,7 @@ void GeneratedImage::drawPattern(GraphicsContext& destContext,
|
| RefPtr<Pattern> picturePattern =
|
| Pattern::createPicturePattern(std::move(tilePicture));
|
|
|
| - SkPaint fillPaint = destContext.fillPaint();
|
| + CdlPaint fillPaint = destContext.fillPaint();
|
| picturePattern->applyToPaint(fillPaint, patternMatrix);
|
| fillPaint.setColor(SK_ColorBLACK);
|
| fillPaint.setBlendMode(compositeOp);
|
|
|