Index: cc/ipc/struct_traits_unittest.cc |
diff --git a/cc/ipc/struct_traits_unittest.cc b/cc/ipc/struct_traits_unittest.cc |
index 5b1b68ec77c52345cea804c0a5d97569bb488afb..b86f8e8c6b423a67dec0237732152963a328707e 100644 |
--- a/cc/ipc/struct_traits_unittest.cc |
+++ b/cc/ipc/struct_traits_unittest.cc |
@@ -1107,8 +1107,9 @@ TEST_F(StructTraitsTest, TextureMailbox) { |
const bool is_overlay_candidate = true; |
const bool secure_output_only = true; |
const bool nearest_neighbor = true; |
- const gfx::ColorSpace color_space = |
- gfx::ColorSpace::CreateVideo(4, 5, 9, gfx::ColorSpace::RangeID::LIMITED); |
+ const gfx::ColorSpace color_space = gfx::ColorSpace( |
+ gfx::ColorSpace::PrimaryID::BT470M, gfx::ColorSpace::TransferID::GAMMA28, |
+ gfx::ColorSpace::MatrixID::BT2020_NCL, gfx::ColorSpace::RangeID::LIMITED); |
#if defined(OS_ANDROID) |
const bool is_backed_by_surface_texture = true; |
const bool wants_promotion_hint = true; |