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

Unified Diff: third_party/WebKit/Source/platform/DragImage.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/DragImage.cpp
diff --git a/third_party/WebKit/Source/platform/DragImage.cpp b/third_party/WebKit/Source/platform/DragImage.cpp
index ba603216293bb070121ac48bc9fe0d8d0d18fb29..472456b256fea8b3658bd14fe029d5ea9cd2292a 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -149,10 +149,7 @@ std::unique_ptr<DragImage> DragImage::create(
if (!image)
return nullptr;
- // TODO(ccameron): DragImage needs to be color space aware.
- // https://crbug.com/672316
- sk_sp<SkImage> skImage =
- image->imageForCurrentFrame(ColorBehavior::transformToGlobalTarget());
+ sk_sp<SkImage> skImage = image->imageForCurrentFrame();
if (!skImage)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698