| Index: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| index 5b5886e53fbab9f10c28584a257ae23f4d209edf..54d8e18fcc1d1b64e26bca39b45ed3637a292e57 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| @@ -78,7 +78,7 @@ TEST(GraphicsContextTest, pictureRecording)
|
|
|
| context.beginRecording(bounds);
|
| context.fillRect(FloatRect(0, 0, 50, 50), opaque, SkXfermode::kSrcOver_Mode);
|
| - RefPtr<const SkPicture> picture = context.endRecording();
|
| + sk_sp<const SkPicture> picture = context.endRecording();
|
| canvas.drawPicture(picture.get());
|
| EXPECT_OPAQUE_PIXELS_ONLY_IN_RECT(bitmap, IntRect(0, 0, 50, 50))
|
|
|
| @@ -121,7 +121,7 @@ TEST(GraphicsContextTest, UnboundedDrawsAreClipped)
|
|
|
| // Make the device opaque in 10,10 40x40.
|
| context.fillRect(FloatRect(10, 10, 40, 40), opaque, SkXfermode::kSrcOver_Mode);
|
| - RefPtr<const SkPicture> picture = context.endRecording();
|
| + sk_sp<const SkPicture> picture = context.endRecording();
|
| canvas.drawPicture(picture.get());
|
| EXPECT_OPAQUE_PIXELS_ONLY_IN_RECT(bitmap, IntRect(10, 10, 40, 40));
|
|
|
|
|