Index: ui/gfx/icc_profile_mac.mm |
diff --git a/ui/gfx/icc_profile_mac.mm b/ui/gfx/icc_profile_mac.mm |
index ec51749be477c65b2c019e58d70401ab87f73940..1aa768cc699f79ef837737d921c31454e0052dbb 100644 |
--- a/ui/gfx/icc_profile_mac.mm |
+++ b/ui/gfx/icc_profile_mac.mm |
@@ -16,6 +16,9 @@ |
// static |
ICCProfile ICCProfile::FromCGColorSpace(CGColorSpaceRef cg_color_space) { |
+ if (HasForcedProfile()) |
+ return GetForcedProfile(); |
+ |
base::ScopedCFTypeRef<CFDataRef> cf_icc_profile( |
CGColorSpaceCopyICCProfile(cg_color_space)); |
if (!cf_icc_profile) |