Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp

Issue 2727133002: Remove ColorBehavior argument to Image::imageForCurrentFrame (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 51b04ecf5796067b9dfd5c88c97a61a36aa1da7c..4e534744aa775ef83d4ca891cdc9c8bfda6da469 100644
--- a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
+++ b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
@@ -61,9 +61,7 @@ class TestImageAnimated : public Image {
const FloatRect& srcRect,
RespectImageOrientationEnum,
ImageClampingMode) override {}
- sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override {
- return nullptr;
- }
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; }
};
TEST_F(ImageQualityControllerTest, ImageMaybeAnimated) {
@@ -93,9 +91,7 @@ class TestImageWithContrast : public Image {
ImageClampingMode) override {}
bool isBitmapImage() const override { return true; }
- sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override {
- return nullptr;
- }
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; }
};
TEST_F(ImageQualityControllerTest, LowQualityFilterForContrast) {
@@ -127,9 +123,7 @@ class TestImageLowQuality : public Image {
ImageClampingMode) override {}
bool isBitmapImage() const override { return true; }
- sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override {
- return nullptr;
- }
+ sk_sp<SkImage> imageForCurrentFrame() override { return nullptr; }
};
TEST_F(ImageQualityControllerTest, MediumQualityFilterForUnscaledImage) {
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageData.cpp ('k') | third_party/WebKit/Source/core/svg/graphics/SVGImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698