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

Unified Diff: ui/gfx/icc_profile.h

Issue 2299193005: Layout tests: Parameterize color space to use by default (Closed)
Patch Set: Actually specify generic Created 4 years, 3 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') | no next file » | 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 4f042f52eb509f6e7a76c44442a378c369da1dc2..e1b51b0a1ca2cd4a6e2ca334500985bdbe70cb32 100644
--- a/ui/gfx/icc_profile.h
+++ b/ui/gfx/icc_profile.h
@@ -46,6 +46,9 @@ class GFX_EXPORT ICCProfile {
// to the one that created |color_space|, but this is not guaranteed.
static ICCProfile FromColorSpace(const gfx::ColorSpace& color_space);
+ // Create directly from profile data.
+ static ICCProfile FromData(const char* icc_profile, size_t size);
+
// This will perform a potentially-lossy conversion to a more compact color
// space representation.
ColorSpace GetColorSpace() const;
@@ -60,7 +63,6 @@ class GFX_EXPORT ICCProfile {
#endif
private:
- static ICCProfile FromData(const char* icc_profile, size_t size);
static bool IsValidProfileLength(size_t length);
bool valid_ = false;
« no previous file with comments | « content/test/layouttest_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698