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

Unified Diff: ui/gfx/icc_profile.h

Issue 2598833002: Add SkColorSpace to gfx::ColorSpace (Closed)
Patch Set: Add tests 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
« no previous file with comments | « ui/gfx/color_transform_unittest.cc ('k') | ui/gfx/icc_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/icc_profile.h
diff --git a/ui/gfx/icc_profile.h b/ui/gfx/icc_profile.h
index ef5ab20790ed7d01dcda25a1d7428555ca023c5a..8d72d08ea6611a5f619e578e797ac6a1cfb71abb 100644
--- a/ui/gfx/icc_profile.h
+++ b/ui/gfx/icc_profile.h
@@ -53,6 +53,7 @@ class GFX_EXPORT ICCProfile {
// Internally, this will make an effort to create an identical ICCProfile
// to the one that created |color_space|, but this is not guaranteed.
static ICCProfile FromColorSpace(const gfx::ColorSpace& color_space);
+ static ICCProfile FromSkColorSpace(sk_sp<SkColorSpace> color_space);
// Create directly from profile data.
static ICCProfile FromData(const char* icc_profile, size_t size);
« no previous file with comments | « ui/gfx/color_transform_unittest.cc ('k') | ui/gfx/icc_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698