| Index: third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| index 17559e522ee3d9ec9d492cbef65f9856dbb870c2..fb0ca564281d9eda28c7aa8dfb1b96e6dbae0515 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| @@ -47,7 +47,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
|
| break;
|
| }
|
|
|
| - sk_sp<SkPicture> mask;
|
| + sk_sp<PaintRecord> mask;
|
| const NinePieceImage& maskNinePiece = reflectStyle->mask();
|
| if (maskNinePiece.hasImage()) {
|
| LayoutRect maskRect(LayoutPoint(), frameLayoutRect.size());
|
| @@ -56,8 +56,8 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
|
| FloatRect maskBoundingFloatRect(maskBoundingRect);
|
|
|
| // TODO(jbroman): SkPictureBuilder + DrawingRecorder seems excessive.
|
| - // If NinePieceImagePainter operated on SkCanvas, we'd only need an
|
| - // SkPictureRecorder here.
|
| + // If NinePieceImagePainter operated on SkCanvas, we'd only need a
|
| + // PictureRecorder here.
|
| SkPictureBuilder recorder(maskBoundingFloatRect);
|
| {
|
| GraphicsContext& context = recorder.context();
|
|
|