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

Unified Diff: third_party/WebKit/Source/platform/graphics/ColorBehavior.h

Issue 2572873002: Add ColorBehavior plumbing for 2D canvas drawImage (Closed)
Patch Set: 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/ColorBehavior.h
diff --git a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
index ea3c1a2423e1ec0bd0916d02fd56c988aacbe1db..b4086adebfb820e9d28179c6549057d3413b51bc 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
+++ b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
@@ -49,6 +49,7 @@ class PLATFORM_EXPORT ColorBehavior {
// profiles should be converted. Note that only the first call to this
// function in this process has any effect.
static void setGlobalTargetColorProfile(const WebVector<char>&);
+ static void setGlobalTargetColorSpaceForTesting(const sk_sp<SkColorSpace>&);
static sk_sp<SkColorSpace> globalTargetColorSpace();
// Return the behavior of transforming to the color space specified above, or

Powered by Google App Engine
This is Rietveld 408576698