| 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 5a1b25147f3bbf1f335b6ee5fcb8694eec06d51a..afe68b2419c1b73ab320a33ff569789c17523f26 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| @@ -47,14 +47,14 @@
|
| SkPictureBuilder builder(tileRect, nullptr, &destContext);
|
| builder.context().beginRecording(tileRect);
|
| drawTile(builder.context(), srcRect);
|
| - RefPtr<SkPicture> tilePicture = builder.endRecording();
|
| + RefPtr<const SkPicture> tilePicture = builder.endRecording();
|
|
|
| AffineTransform patternTransform;
|
| patternTransform.translate(phase.x(), phase.y());
|
| patternTransform.scale(scale.width(), scale.height());
|
| patternTransform.translate(tileRect.x(), tileRect.y());
|
|
|
| - RefPtr<Pattern> picturePattern = Pattern::createPicturePattern(tilePicture.release());
|
| + RefPtr<Pattern> picturePattern = Pattern::createPicturePattern(tilePicture);
|
| picturePattern->setPatternSpaceTransform(patternTransform);
|
|
|
| SkPaint fillPaint = destContext.fillPaint();
|
|
|