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..615935b9fa4e7b327e409d565528fa042044b11c 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()); |
@@ -57,7 +57,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer, |
// TODO(jbroman): SkPictureBuilder + DrawingRecorder seems excessive. |
// If NinePieceImagePainter operated on SkCanvas, we'd only need an |
danakj
2017/01/20 23:34:14
an->a
|
- // SkPictureRecorder here. |
+ // PictureRecorder here. |
SkPictureBuilder recorder(maskBoundingFloatRect); |
{ |
GraphicsContext& context = recorder.context(); |