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

Unified Diff: ui/gfx/color_transform.cc

Issue 2697863003: color: Clarify default behaviors (Closed)
Patch Set: color: Remove redundant PrimaryID/TransferID/MatrixID values Created 3 years, 10 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
Index: ui/gfx/color_transform.cc
diff --git a/ui/gfx/color_transform.cc b/ui/gfx/color_transform.cc
index 49a3026c895e13c33926b613c6724dc4e45d723c..e450bf52d32bae193c5f4826a7ea6ce76f09278d 100644
--- a/ui/gfx/color_transform.cc
+++ b/ui/gfx/color_transform.cc
@@ -542,7 +542,6 @@ void ColorTransformInternal::AppendColorSpaceToColorSpaceTransform(
ColorTransform::Intent intent) {
if (intent == ColorTransform::Intent::INTENT_PERCEPTUAL) {
switch (from.transfer_) {
- case ColorSpace::TransferID::UNSPECIFIED:
case ColorSpace::TransferID::BT709:
case ColorSpace::TransferID::SMPTE170M:
// SMPTE 1886 suggests that we should be using gamma 2.4 for BT709

Powered by Google App Engine
This is Rietveld 408576698