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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.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/platform/graphics/UnacceleratedStaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp
index d2c1e18bffdfd7a6f3e1c46a0da3fdfd5ca6e254..33f21dd746d6fd8fb04bb5f3f128aea162d5c979 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp
@@ -39,10 +39,7 @@ void UnacceleratedStaticBitmapImage::draw(PaintCanvas* canvas,
m_image);
}
-sk_sp<SkImage> UnacceleratedStaticBitmapImage::imageForCurrentFrame(
- const ColorBehavior& colorBehavior) {
- // TODO(ccameron): This function should not ignore |colorBehavior|.
- // https://crbug.com/672306
+sk_sp<SkImage> UnacceleratedStaticBitmapImage::imageForCurrentFrame() {
return m_image;
}

Powered by Google App Engine
This is Rietveld 408576698