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

Unified Diff: cc/ipc/cc_param_traits_unittest.cc

Issue 2088273003: Video Color Managament (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use gfx::ColorProfile Created 4 years, 4 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: cc/ipc/cc_param_traits_unittest.cc
diff --git a/cc/ipc/cc_param_traits_unittest.cc b/cc/ipc/cc_param_traits_unittest.cc
index 81c818fde536d18513362082932b265992ce6aed..00a7fee41d87637f1e525870c5efa42638197e1f 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -263,6 +263,7 @@ TEST_F(CCParamTraitsTest, AllQuads) {
SkScalar arbitrary_sigma = SkFloatToScalar(2.0f);
YUVVideoDrawQuad::ColorSpace arbitrary_color_space =
YUVVideoDrawQuad::REC_601;
+ gfx::ColorSpace arbitrary_video_color_space = gfx::ColorSpace::CreateREC601();
RenderPassId child_id(30, 5);
RenderPassId root_id(10, 14);
@@ -390,7 +391,8 @@ TEST_F(CCParamTraitsTest, AllQuads) {
arbitrary_rect1_inside_rect1, arbitrary_bool1, arbitrary_rectf1,
arbitrary_rectf2, arbitrary_size1, arbitrary_size2, arbitrary_resourceid1,
arbitrary_resourceid2, arbitrary_resourceid3, arbitrary_resourceid4,
- arbitrary_color_space, arbitrary_float1, arbitrary_float2, arbitrary_int);
+ arbitrary_color_space, arbitrary_video_color_space, arbitrary_float1,
+ arbitrary_float2, arbitrary_int);
pass_cmp->CopyFromAndAppendDrawQuad(yuvvideo_in,
yuvvideo_in->shared_quad_state);

Powered by Google App Engine
This is Rietveld 408576698