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

Unified Diff: ui/gfx/color_space.cc

Issue 2919643002: color: Add virtual test suites for images/ with exotic color profiles (Closed)
Patch Set: Add some allowed failures Created 3 years, 6 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 | « third_party/WebKit/LayoutTests/virtual/exotic-color-space/images/png-color-profile-ignore-gamma-expected.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space.cc
diff --git a/ui/gfx/color_space.cc b/ui/gfx/color_space.cc
index 9230410aa481faaa53c6933280542434140ec71e..8cb06ac3831dda94df294c84024a3097a22d238e 100644
--- a/ui/gfx/color_space.cc
+++ b/ui/gfx/color_space.cc
@@ -457,11 +457,11 @@ void ColorSpace::GetPrimaryMatrix(SkMatrix44* to_XYZD50) const {
case ColorSpace::PrimaryID::WIDE_GAMUT_COLOR_SPIN:
primaries.fRX = 0.01f;
- primaries.fRY = 0.01f;
- primaries.fGX = 0.98f;
+ primaries.fRY = 0.98f;
+ primaries.fGX = 0.01f;
primaries.fGY = 0.01f;
- primaries.fBX = 0.01f;
- primaries.fBY = 0.98f;
+ primaries.fBX = 0.98f;
+ primaries.fBY = 0.01f;
primaries.fWX = 0.3127f;
primaries.fWY = 0.3290f;
break;
« no previous file with comments | « third_party/WebKit/LayoutTests/virtual/exotic-color-space/images/png-color-profile-ignore-gamma-expected.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698