| 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 12dac38af7b6bc4b1228a768978018fc3d55bea7..bedae9cd4478488b8adf18742f1e51f0e94b23c2 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| @@ -44,7 +44,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer, const Computed
|
| break;
|
| }
|
|
|
| - RefPtr<SkPicture> mask;
|
| + sk_sp<SkPicture> mask;
|
| const NinePieceImage& maskNinePiece = reflectStyle->mask();
|
| if (maskNinePiece.hasImage()) {
|
| LayoutRect maskRect(LayoutPoint(), frameLayoutRect.size());
|
| @@ -65,7 +65,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer, const Computed
|
| mask = recorder.endRecording();
|
| }
|
|
|
| - return BoxReflection(direction, offset, mask);
|
| + return BoxReflection(direction, offset, std::move(mask));
|
| }
|
|
|
| } // namespace blink
|
|
|