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 08222b22a33551ce3dee026fcf752bacde697297..b53bf73f9175bd617e325284df93b95639111db8 100644 |
--- a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp |
@@ -50,7 +50,7 @@ TEST_F(ImageQualityControllerTest, ImageRenderingPixelated) |
class TestImageAnimated : public Image { |
public: |
bool maybeAnimated() override { return true; } |
- bool currentFrameKnownToBeOpaque() override { return false; } |
+ bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { return false; } |
IntSize size() const override { return IntSize(); } |
void destroyDecodedData(bool) override { } |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |
@@ -69,7 +69,7 @@ TEST_F(ImageQualityControllerTest, ImageMaybeAnimated) |
class TestImageWithContrast : public Image { |
public: |
bool maybeAnimated() override { return true; } |
- bool currentFrameKnownToBeOpaque() override { return false; } |
+ bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { return false; } |
IntSize size() const override { return IntSize(); } |
void destroyDecodedData(bool) override { } |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |
@@ -90,7 +90,7 @@ TEST_F(ImageQualityControllerTest, LowQualityFilterForContrast) |
class TestImageLowQuality : public Image { |
public: |
bool maybeAnimated() override { return true; } |
- bool currentFrameKnownToBeOpaque() override { return false; } |
+ bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { return false; } |
IntSize size() const override { return IntSize(1, 1); } |
void destroyDecodedData(bool) override { } |
void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override { } |