Index: third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
index 291560cb655d7571402fc5fe3712681443972d73..d3e0f9c435080b1b4f9ce6cb89c78ff7a50c31d8 100644 |
--- a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
@@ -57,7 +57,7 @@ public: |
IntSize size() const override { return IntSize(); } |
void destroyDecodedData() override { } |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |
- PassRefPtr<SkImage> imageForCurrentFrame() override { return nullptr; } |
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; } |
}; |
TEST_F(ImageQualityControllerTest, ImageMaybeAnimated) |
@@ -78,7 +78,7 @@ public: |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |
bool isBitmapImage() const override { return true; } |
- PassRefPtr<SkImage> imageForCurrentFrame() override { return nullptr; } |
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; } |
}; |
TEST_F(ImageQualityControllerTest, LowQualityFilterForContrast) |
@@ -99,7 +99,7 @@ public: |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |
bool isBitmapImage() const override { return true; } |
- PassRefPtr<SkImage> imageForCurrentFrame() override { return nullptr; } |
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; } |
}; |
TEST_F(ImageQualityControllerTest, MediumQualityFilterForUnscaledImage) |