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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp

Issue 2559013002: Add ColorBehavior to blink::Image draw methods (Closed)
Patch Set: Rebase Created 4 years 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/platform/graphics/ImageLayerChromiumTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
index f0af1a2145891216e6ecd93f9be3a5f3f42be5b7..ab1449d31c857b53302b63f90227fb9d8f703f8d 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
@@ -50,7 +50,9 @@ class TestImage : public Image {
IntSize size() const override { return m_size; }
- sk_sp<SkImage> imageForCurrentFrame() override { return m_image; }
+ sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override {
+ return m_image;
+ }
void destroyDecodedData() override {
// Image pure virtual stub.
@@ -61,7 +63,8 @@ class TestImage : public Image {
const FloatRect&,
const FloatRect&,
RespectImageOrientationEnum,
- ImageClampingMode) override {
+ ImageClampingMode,
+ const ColorBehavior&) override {
// Image pure virtual stub.
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/graphics/ImagePattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698