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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.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/AcceleratedStaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
index 903f3e0098caecacec6d8502175caa509bdb5ba7..3ab8fd713663034a541b2fce0a74d65c1d4cb3ae 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
@@ -89,13 +89,10 @@ void AcceleratedStaticBitmapImage::copyToTexture(
destGL->DeleteTextures(1, &sourceTextureId);
}
-sk_sp<SkImage> AcceleratedStaticBitmapImage::imageForCurrentFrame(
- const ColorBehavior& colorBehavior) {
+sk_sp<SkImage> AcceleratedStaticBitmapImage::imageForCurrentFrame() {
// TODO(xlai): Refactor so that sync tokens are only used when
// |m_textureHolder| is MailboxTextureHolder.
// https://crbug.com/693229
- // TODO(ccameron): This function should not ignore |colorBehavior|.
- // https://crbug.com/672306
checkThread();
if (!isValid())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698