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

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

Issue 2641973002: Use gfx::ICCProfile type consistently (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « content/test/layouttest_support.cc ('k') | third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..993afb6d8a0ee5737ce24d44f4f96708fb3fa057 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
+++ b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
@@ -12,6 +12,10 @@
class SkColorSpace;
+namespace gfx {
+class ICCProfile;
+}
+
namespace blink {
class PLATFORM_EXPORT ColorBehavior {
@@ -48,7 +52,7 @@ 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 setGlobalTargetColorProfile(const gfx::ICCProfile&);
static void setGlobalTargetColorSpaceForTesting(const sk_sp<SkColorSpace>&);
static sk_sp<SkColorSpace> globalTargetColorSpace();
« no previous file with comments | « content/test/layouttest_support.cc ('k') | third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698