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

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

Issue 2605743002: Use consistent types for ICC profiles (Closed)
Patch Set: No export for static lib 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 b4086adebfb820e9d28179c6549057d3413b51bc..2723861139bc6df963b1be644cafe593f402f86b 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
+++ b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
@@ -48,7 +48,8 @@ class PLATFORM_EXPORT ColorBehavior {
// Set the target color profile into which all images with embedded color
// 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 setGlobalTargetColorSpace(const sk_sp<SkColorSpace>&);
+ // This is the same as the above function, but will always take effect.
static void setGlobalTargetColorSpaceForTesting(const sk_sp<SkColorSpace>&);
static sk_sp<SkColorSpace> globalTargetColorSpace();

Powered by Google App Engine
This is Rietveld 408576698