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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.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/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index bf2192a5147d71dacd0415f7831c3292b8f1bb86..de25773aeb57ec3998d1473cc65ccb7cd58d7999 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1064,9 +1064,7 @@ void GraphicsLayer::setContentsRect(const IntRect& rect) {
void GraphicsLayer::setContentsToImage(
Image* image,
RespectImageOrientationEnum respectImageOrientation) {
- sk_sp<SkImage> skImage = image ? image->imageForCurrentFrame(
- ColorBehavior::transformToGlobalTarget())
- : nullptr;
+ sk_sp<SkImage> skImage = image ? image->imageForCurrentFrame() : nullptr;
if (image && skImage && image->isBitmapImage()) {
if (respectImageOrientation == RespectImageOrientation) {
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.h ('k') | third_party/WebKit/Source/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698