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

Unified Diff: ui/gfx/color_space.h

Issue 2697863003: color: Clarify default behaviors (Closed)
Patch Set: 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_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index f7dd456181943f29c8946cdbe6237a68fea4ca44..305ea3c0c2eb62909fd72f7e0a52d1b3bc238423 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -190,7 +190,7 @@ class GFX_EXPORT ColorSpace {
PrimaryID primaries_ = PrimaryID::UNSPECIFIED;
TransferID transfer_ = TransferID::UNSPECIFIED;
MatrixID matrix_ = MatrixID::UNSPECIFIED;
- RangeID range_ = RangeID::LIMITED;
+ RangeID range_ = RangeID::FULL;
hubbe 2017/02/15 08:48:56 Maybe we should have an unspecified range? I'm not
ccameron 2017/02/15 09:34:28 Not sure what to do here. The default gfx::ColorSp
// Only used if primaries_ is PrimaryID::CUSTOM.
float custom_primary_matrix_[9] = {0, 0, 0, 0, 0, 0, 0, 0};
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | ui/gfx/color_space.cc » ('j') | ui/gfx/color_space.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698